![]() |
2012-12-06
, 10:02
|
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
|
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.
The Following 2 Users Say Thank You to Wikiwide For This Useful Post: | ||
![]() |
2012-12-06
, 10:30
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#3
|
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.
![]() |
2012-12-06
, 13:32
|
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
|
#4
|
The time is stored in standard UNIX/POSIX format ("epoch time"). You can play with it here:
http://www.epochconverter.com/
The Following User Says Thank You to Wikiwide For This Useful Post: | ||
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.