Skip to content

Does an alternative to [DateTime]::Parse() exist that supports negative years? #109687

Discussion options

You must be logged in to vote

does it support negative years in dates?

No. It interprets the tick as unsigned number, and most methods are rejecting dates out of the years 0001-9999.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@RokeJulianLockhart
Comment options

@huoyaoyuan
Comment options

Answer selected by RokeJulianLockhart
@Clockwork-Muse
Comment options

@RokeJulianLockhart
Comment options

@RokeJulianLockhart
Comment options

@RokeJulianLockhart
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants