Skip to content

pandasx / ToDatetimeOptions

Interface: ToDatetimeOptions ​

Defined in: src/datetimes.ts:14

Properties ​

PropertyTypeDescriptionDefined in
dayfirst?booleanParse ambiguous 01/02/2024 as 1 February.src/datetimes.ts:22
errors?"raise" | "coerce"'raise' (default) throws on bad input, 'coerce' turns it into NaT.src/datetimes.ts:18
format?stringstrptime format, e.g. '%d/%m/%Y %H:%M'.src/datetimes.ts:16
unit?DateUnitUnit of numeric input (default 'ms').src/datetimes.ts:24
utc?booleanReturn tz-aware UTC datetimes (strings with offsets are converted).src/datetimes.ts:20

Released under the MIT License.