Table of contents
TOC
Collapse the table of content
Expand the table of content

DateTime.ToRecord

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

About

Returns a record containing parts of a DateTime value.

DateTime.ToRecord(dateTime as datetime) as record  

Arguments

ArgumentDescription
dateTimeThe DateTime to parse.

Example

DateTime.ToRecord(#datetime(2013,1,3,12,4,5)) equals  
[             
Year = 2013,   Month = 1,   Day = 3,         
Hour = 12,  Minute = 4, Second = 5  
]  
© 2018 Microsoft