hyTags
HomeHome Getting StartedGetting Started DocumentationDocumentation

date-time-get

Gets a specific component from a date and time.
Parameter
Type
Description
self
dateTime
The date and time to extract from.
component
string
The component to get (year, month, day, hour, minute, or second).
return
number
The value of the requested component.