DateTimeOperationDto
Namespace: Meshmakers.Octo.Sdk.Common.EtlDataPipeline.Nodes.Transforms
Represents a date/time operation that can be performed on data.
public enum DateTimeOperationDto
Inheritance Object → ValueType → Enum → DateTimeOperationDto
Implements IComparable, ISpanFormattable, IFormattable, IConvertible
Fields
| Name | Value | Description |
|---|---|---|
| Now | 0 | Returns the current UTC date and time. |
| StartOfDay | 1 | Truncates a date/time value to midnight (start of day). |
| AddDays | 2 | Adds a specified number of days to a date/time value. |
| AddHours | 3 | Adds a specified number of hours to a date/time value. |
| AddMinutes | 4 | Adds a specified number of minutes to a date/time value. |
| AddSeconds | 5 | Adds a specified number of seconds to a date/time value. |
| DaysBetween | 6 | Computes the whole number of days between two dates (date-only comparison). |
| Format | 7 | Formats a date/time value using a .NET format string. |
| CombineDateTime | 8 | Combines the date part from one value with the time part from another. |
| ExtractDate | 9 | Extracts the date part (truncates to midnight). Alias for StartOfDay. |
| ExtractTime | 10 | Extracts the time part as a string in "HH:mm:ss" format. |
| ConvertToTimeZone | 11 | Converts a UTC date/time value into the wall-clock time of an IANA time zone (for example Europe/Vienna), taking daylight saving time into account. The zone id comes from ValuePath, or from Value when no path is configured. |
| FromUnixTimeMilliseconds | 12 | Converts Unix time in milliseconds since 1970-01-01T00:00:00Z, read from Path, into a UTC date/time value. |