I've been expirimenting with APIs and Workflow. They are an area I very much want to improve in as I find much of it is currently beyond me. One thing I've noticed from looking at a number of different APIs is they tell time using Epoch time. Epoch time starts on 1/1/1970 00:00:00. I have made a workflow that can be used to convert the current time into Epoch Format, or take an epoch time and find out what is in a more human readable format.
I tested it comparing the times output with what I got for the same values at this website.
I'm pretty sure I got it working right but would love input. My start time is actually 12/31/1969 06:00:00 since I am in the central time zone which is UTC -06:00. You will want to adjust this time to fit your local time zone. An Import question will ask for it.
The workflow is actually designed to be ran inside other workflows using the Run Workflows action. You can either pass it an Epoch formatted time and get back the standard, human readable format or you can simply call it with no input in which case you will get the current time back in Epoch format.
Feel free to tell me what you think. The best way to reach me is on Twitter.