Page 1 of 1
Calendar event_start variable number?
Posted: 09 Sep 2017 21:22
by holymoz
Hi, in calendar trigger when I recall the time supplied variables (exmp. {event_start}) it appear like a long numeric code instead of a time format (hh:mm) why? Thanks
Re: Calendar event_start variable number?
Posted: 10 Sep 2017 00:43
by simon_magus101
Try {event_start, dateformat, HH:mm:ss}
Re: Calendar event_start variable number?
Posted: 10 Sep 2017 08:29
by Martin
The reason is that each date/time internally is represented as the number of milliseconds since 01.01.1970. The dateformat is used to tell how you want to see it. Also check out the documentation:
http://automagic4android.com/automagic/ ... terns.html
Regards,
Martin
Re: Calendar event_start variable number?
Posted: 10 Sep 2017 09:43
by holymoz
Thanks to all, it works.
I needed it because sometimes calendar app doesn't notify so I set a flow to notify me the events anyway