MIDAS API

util_from_epoch

Converts epoch seconds to a standard date/time format
Required ParametersPossible ValuesDescription
dataepoch secondsEpoch seconds to convert
Optional ParametersPossible ValuesDescription
format1 | 0If omitted (or "0"), the returned date/time string will be in the format "YYYYMMDDHHMM".
If "1", the returned date/time string will reflect the current time/date format settings in MIDAS, for instance, "DD/MM/YYYY @ HH:MM"
Example Response
↓ Show
{
	"response":"201305121008"
}
Variables ReturnedDescription
responseThe converted epoch time, returned in a date/time format specified by the "format" parameter. If no "format" parameter specified, response is returned as "YYYYMMDDHHMM"