time

Input Stack:
String
Output Stack:
TimeSeriesExpr

Generates a line based on the current time. Supported modes are:

  • secondOfMinute
  • secondOfDay
  • minuteOfHour
  • minuteOfDay
  • hourOfDay
  • dayOfWeek
  • dayOfMonth
  • dayOfYear
  • monthOfYear
  • yearOfCentury
  • yearOfEra
  • seconds (since epoch)
  • days (since epoch)

The mode can also be a value of the enum ChronoField.

Examples:

Hour of DayEnum
hourOfDay,:time
HOUR_OF_DAY,:time