No there's no other way, if you want to verify both statements you have to do it like you did.
LoliScript is very assembler-like, writing a more complex language would have required A LOT more time.
For the second question, look here https://forum.openbullet.dev/topic/17/fixed-variables
If you need the exact year, month etc. there's no builtin function to do that in OpenBullet, so your approach is correct. Otherwise you can use FUNCTION CurrentUnixTime -> VAR "TIME".