Skip to content

Modern Chrono Instant MaxValue

Paul Squires edited this page Oct 19, 2026 · 5 revisions

Home › Date and Time (Chrono) › Chrono Date and Time › Instant.MaxValue

Instant.MaxValue

Returns the latest date-time, the last tick of 9999-12-31.

Syntax

Instant.MaxValue

Examples

#import "std/chrono"
using chrono

dim as DateTime d = DateTime.MaxValue( )

print d.ToIsoString( )       '' 9999-12-31T23:59:59.9999999
print d.Add( TimeSpan.FromTicks( 1 ) ).IsValid           '' false

Library: Chrono Date and Time
Category: Date and Time (Chrono)
Documented under: The Members

Clone this wiki locally