Timestamp comparison

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
christopherb
Posts: 304
Joined: Fri Jun 22, 2007 8:26 pm

Timestamp comparison

Post by christopherb »

Hello All,

I having a brain fart. I need to check a timestamp attribute to see if 24 hours have passed. I can't seem to get the syntax right to complete it.

Thank you
Chris
Cheers,

Christopher
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

Chris,

Try something like this:

If TimeStuff.TimeInfo<TIME_ADD(CURRENT_TIMESTAMP,-24) Then ......

Tom
Post Reply