Skip to content

Create more live properties from date and time #144

@end2endzone

Description

@end2endzone

Is your feature request related to a problem? Please describe.
There is no properties for referencing current date and time.

Describe the solution you'd like
Create the following live properties :

  • date.year (year 4 digits number)
  • date.month (month 2 digits number from 01 to 12)
  • date.day (day 2 digits number from 01 to 31)
  • date.full (date in yyyy-mm-dd format. For example 2023-12-31)
  • date.short (date in yyyymmdd format. For example 20231231)
  • time.hours (hours 2 digits number from 00 to 23)
  • time.minutes (minutes 2 digits number from 00 to 59)
  • time.seconds (seconds 2 digits number from 00 to 59)
  • time.milliseconds (milliseconds 3 digits number from 000 to 999)
  • time.full (time in 00h00m00s.000 format. For example 23h59m59.999)
  • time.short (time in hhmmss format. For example 235959)
  • time.short2 (time in hhmmssmmm format. For example 235959999)
  • datetime.full (date and time in yyyy-mm-dd 00h00m00s.000 format. For example 2023-12-31 23h59m59.999)
  • datetime.short (date and time in yyyymmddhhmmss format. For example 20231231235959)
  • datetime.custom (date and time according to the value of property datetime.format.)

Describe alternatives you've considered
We could generate time properties in DefaultSettings but that would be way too complicated.

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions