General information
Category:
Coding, syntax & commands
>>Is there a way to convert a datetime to a numeric value? Actually it needs to be negative but I can multiply by -1.
>
>subtract another datetime from the datetime
>
>lnCurrentTime = datetime() - datetime(1970, 1, 1) && equivalent to a C time_t
instead of multiplying by -1, use unary -
lnCurrentTime = -(datetime() - datetime(1970, 1, 1))
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only