interface DateTimeV1NodeParameters {
action?: "calculate" | "format";
custom?: boolean;
dataPropertyName?: string;
duration?: number;
operation?: "add" | "subtract";
options?:
| {
fromFormat?: string;
fromTimezone?: string;
toTimezone?: string;
}
| { fromFormat?: string };
timeUnit?:
| "minutes"
| "hours"
| "days"
| "weeks"
| "months"
| "quarters"
| "years"
| "seconds"
| "milliseconds";
toFormat?: string;
value?: string;
}
Properties§
§
§
§
§
§
§
§
§
§
readonly action?: "calculate" | "format"
readonly custom?: boolean
Whether a predefined format should be selected or custom format entered
readonly data Property Name?: string
Name of the property to which to write the converted date Default: "data"
readonly duration?: number
E.g. enter “10” then select “Days” if you want to add 10 days to Date Value. Type options: {"minValue":0}
readonly operation?: "add" | "subtract"
Default: "add"
readonly options?:
| {
fromFormat?: string;
fromTimezone?: string;
toTimezone?: string;
}
| { fromFormat?: string }
Default: {}
readonly time Unit?:
| "minutes"
| "hours"
| "days"
| "weeks"
| "months"
| "quarters"
| "years"
| "seconds"
| "milliseconds"
Time unit for Duration parameter above Default: "days"
readonly to Format?: string
The format to convert the date to
readonly value?: string
The value that should be converted
Default: "format"