(Object, Component<Time>). Allows for the input of hours/minutes in 24-hour format by default (though 12-hour formatting is also available). The seconds field must be enabled manually. (Object, Component<Time>) does not extend to allowing for full date input, see (Object, Component<Date>) for that instead; which also includes hour/minute/second inputs.
Note. ‘Returns:’ refers to what the Component value returns when exported to its .variable
binding.
<component_key>: (Object, Component<Time>)
- Inherits from Component.
- has_seconds_input: (Boolean) - Optional. Whether the seconds field is enabled. False by default.
- is_twelve_hour: (Boolean) - Optional. Whether to switch to AM/PM instead of the default 24-hour format. False by default.
- Returns: (Object)
- hour: (Number) - Runs from 0-23 for computational purposes, regardless of whether .is_twelve_hour is enabled.
- hours: (Number) - Same as .hour, alias.
- minute: (Number) - Runs from 0-59.
- minutes: (Number) - Same as .minute, alias.
- second: (Number) - Runs from 0-59.
- seconds: (Number) - Same as .second, alias.