I was just trying to obtain the latter of two dates and thought it may be nice to add min() and max() methods to Date / DateTime / Time, similar to what numbers have.
min()
max()
Date
DateTime
Time
date1 := ... date2 := ... latest := date1.max(date2) ... vs ... latest := date1 > date2 ? date1 : date2
We don't have those because of sys::DateTime.min
sys::DateTime.min
Login or Signup to reply.
SlimerDude Thu 12 Oct 2017
I was just trying to obtain the latter of two dates and thought it may be nice to add
min()
andmax()
methods toDate
/DateTime
/Time
, similar to what numbers have.brian Mon 16 Oct 2017
We don't have those because of
sys::DateTime.min