c# - Convert DateTime to yyyyMMdd int -
is the fastest way to convert a dated time to an integer of yyyyMMdd format.
i.e. 01-Jan 2007 -> 20070101 (in int)?
int x = date Year * 10000 + date Death * 100 + date Date
is the fastest way to convert a dated time to an integer of yyyyMMdd format.
i.e. 01-Jan 2007 -> 20070101 (in int)?
int x = date Year * 10000 + date Death * 100 + date Date
Comments
Post a Comment