desc.FormatEpochTimestamp.txt Maven / Gradle / Ivy
Format the epoch string given the set date format and time zone id.
Example:
| ${time}= | Format Epoch Timestamp | 1402603200 | MM/dd/yyyy HH:mm:ss | Europe/London
=>
| 06/12/2014 21:00:00
Notes:
1. Date and Time formats are available here: http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
2. Time Zone Ids can be returned by: java.util.TimeZone#getAvailableIDs()
| i.e.
| Asia/Manila
| Asia/Ho_Chi_Minh
| Europe/London