Create a Time Vector quickly formats a list of times into a single, compact vector-style output. Whether you’re preparing data for code, reports, or JSON arrays, this tool helps you structure time values with customizable separators, padding, and bracket wrapping.
How to Use:
- Enter
hh:mm
time values into the input box, one per line. - The output updates live in the right-hand box as a single vector string.
- Use the toggles in the Options panel to change formatting:
- Enable or disable zero padding
- Use colons or compact digit formats
- Choose to wrap the result in brackets
- Import a list of times using the Choose File button.
- Click Copy Output or Export to File to save the result.
- Hit Clear All to reset everything.
What Create a Time Vector can do:
- Takes multiple times and outputs them in a clean vector format.
- Removes any invalid entries automatically.
- Updates live with a highlight animation when content changes.
Tool Options:
- Pad single digits with zero: Ensures times like
8:5
become08:05
- Use colon separator: Switch between
08:00
and0800
styles - Wrap in brackets: Outputs result like
[08:00, 12:00, 16:00]
Example:
With all toggles enabled:
8:00
12:00
16:00
Returns:
[08:00, 12:00, 16:00]
With wrapping off and no colon:
0800, 1200, 1600
Common Use Cases:
Use Create a Time Vector to build clean lists of time values for schedules, code-based configurations, chart labels, time-series processing, or any workflow where you want to compress multiple time values into a single formatted string.
Useful Tools & Suggestions:
Need matching data? Create a Date Vector helps you pair up your clock times with calendar dates. And if you’re building it out, Generate a Time Sequence gives you the raw material to plug right in.