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§
Source§readonly custom?: boolean
readonly custom?: boolean
Whether a predefined format should be selected or custom format entered
Source§readonly data Property Name?: string
readonly data Property Name?: string
Name of the property to which to write the converted date Default: "data"
Source§readonly duration?: number
readonly duration?: number
E.g. enter “10” then select “Days” if you want to add 10 days to Date Value. Type options: {"minValue":0}
Source§readonly options?:
| {
fromFormat?: string;
fromTimezone?: string;
toTimezone?: string;
}
| { fromFormat?: string }
readonly options?:
| {
fromFormat?: string;
fromTimezone?: string;
toTimezone?: string;
}
| { fromFormat?: string }
Default: {}
Default: "format"