Sample Header Ad - 728x90

Count time difference between some date time in the future and the current time in Automate

1 vote
1 answer
39 views
I am struggling to count the time difference between the next new year, 0 o'clock at January 1 and the current time and to obtain the number of days, hours, minutes and seconds. According to the LlamaLabs help, Now gives a unix timestamp for the current time and date() a timestamp of for the specified time date. However, computing the number of days, hours etc. in the obvious way from the timestamps doesn't yield the expected result. I also don't find appropriate blocks for the flow. How would you solve that in Automate?
Asked by highsciguy (191 rep)
Jan 6, 2024, 05:05 PM
Last activity: Jan 6, 2024, 08:52 PM