View Single Post
Posts: 2,006 | Thanked: 3,351 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#2
Originally Posted by rotoflex View Post
What's the syntax used for assigning a time to an event in slarmd?

I have an event scheduled at 9 p.m. (21:00), & in /var/cache/alarmd/alarm_queue.ini the event's section has alarm_time as 1322362800.

How is 21:00 translated into 1322362800? It's not seconds after midnight.
Quick reply...
1322362800s=367323h
377323h=15305d+3h
15305d~42 years (don't know exactly)
21:00 is 3h before midnight.
Hope it helps.
Best wishes.
__________________
Per aspera ad astra...
 

The Following 2 Users Say Thank You to Wikiwide For This Useful Post: