kong.tools.timestamp

Current UTC time

Functions

get_timestamps (now) Creates a timestamp

Functions


get_timestamps

Creates a timestamp
Parameters:
  • now (optional) Time to generate a timestamp from, if omitted current UTC time will be used
Returns:
  • Timestamp table containing fields; second, minute, hour, day, month, year