Hello, I am trying to write a macro in BASIC where I use “NOW()”. Using the debugger, I can see
that the Variant/Date value of its output is correct (i.e. 13/5/2025 + the time), but when converting it
to a double with CDbl, I get 0, even though it should be 45790 + some decimal. I can also confidently say that it is a bug related to “NOW()” since if I do e.g. a subtraction against some other date without explicit conversion, I just get the negative version of the date (i.e. as if subtracted from 0). Even if I use “TODAY()”, I have the same problem i.e. its double value is 0. I am using the Flatpak version of LibreOffice.
Thank you in advance!