function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jedi_101jedi_101 

converting datetime to date

hi-

is there a better way than instantiating a new date object with year, month, and day from the datetime object? 
Steve ChadbournSteve Chadbourn

Date birthdate = Date.valueOf('1960-01-01');