Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Converting time with EPOCHSECONDS and zmodload zsh/datetime



I'm just learning 'zmodload zsh/datetime'

I know I can use

	strftime %Y-%m-%d_%H.%M.%S $EPOCHSECONDS

to get a time format like 2011-08-21_14.45.38


If I know that something it going to happen in 22:05:03 (22hrs 5
minutes 3 seconds) from now, how do I convert that to a specific time
like `strftime %Y-%m-%d_%H.%M.%S`?

TjL



Messages sorted by: Reverse Date, Date, Thread, Author