NanoDates.jl
a date-and-time type
- Years, Months, Days
- Hours, Minutes, Seconds
- Milliseconds, Microseconds, Nanoseconds
cooperates with Dates
- NanoDate works like a more precise DateTime
- all Dates methods (afaik)
- construct from
- DateTime & Time, Date & Time
- DateTime & Microseconds [, Nanoseconds]
- DateTime, Date
- deconstruct to
- DateTime, Date, Time
- uses DateFormat
- one 's' for each subsecond digit
format(::NanoDate, ::DateFormat)
- Technical Note: DateFormats used with NanoDates must use '.' only to separate seconds from subseconds.
- If you need that sort of format, use
NanoDate(DateTime(datestring, dateformat))
. nd = NanoDate(DateTime("12.31.2024 23:59", dateformat"mm.dd.yyyy HH:MM"))
- If you need that sort of format, use
help
install with
using Pkg; Pkg.add("NanoDates")
ask questions
report any issues here