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?: booleanWhether a predefined format should be selected or custom format entered
readonly data Property Name?: stringName of the property to which to write the converted date Default: "data"
readonly duration?: numberE.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?: stringThe format to convert the date to
readonly value?: stringThe value that should be converted
Default: "format"