Parse, validate, manipulate, and format human readable or machine readable dates and/or times in Bridge.
USM Content
Dates and times are represented by a structured date/time object; while durations (differences between two dates) are represented using duration-object. Both can be passed from one module to another.
For example, if you want to get the start of the current business quarter in the standard ISO-8601 format, you can:
- Get the current time using the Current Date/Time Module.
- Pass the output to the Round Date/Time Module to set the date to the start of the quarter.
- Use the Format Date/Time Module to output the Date/Time object into a formatted string – in this case ISO-8601.
Date/Time modules
In the descriptions below, words in bold indicate fields in the modules.
When in doubt about a field in a module, hover over the question mark next to the field. You will get a brief description of the field function.
Check Date/Time
This creates a junction in your workflow. This module checks an input date against specified conditions or days to check. The workflow will follow a Success or Failed path depending on the check results.
Compare Date/Time
Compare two parsed date objects, resulting in the absolute difference between them. Here you can select Days to Ignore, if any, or whether to include the end date. You can use the output as a reference in other modules.
Current Date/Time
Returns the current date/time in a structured date object that you can manipulate or format. If needed, you can select an UTC Offset.
Format Date/Time
Formats a date to give a human-readable form; it is usually a date reference from another module.
Manipulate Date/Time
Add, subtract or set a unit of time (Years, Months, Days, Hours, Minutes, Seconds or Duration) from a parsed date object.
Parse Date/Time
Parses an input into a structured Date/Time that you can manipulate for formatting. This module can parse human-readable dates, ISO-8601, RFC 2822, Unix timestamps, and more formats.
Round Date/Time
Returns the start or end of the unit's Date/Time object in the selected Unit of Time.