### Ticks as Long

The Ticks as a result of DateTime.Now must be stored as Long.
Example
Dim dtnow As Long = DateTime.Now
Log(dtnow)
Result:
1448618910088
Example
Dim dtnow As Long = DateTime.Now
Log("DateTime Now as Ticks (long): " & dtnow)
Dim dtyyyymmdd As String = DateTime.GetYear(dtnow) & "-" & DateTime.GetMonth(dtnow) & "-" & DateTime.GetDayOfMonth(dtnow)
Log("DateTime Now as yyyy-mm-dd: " & dtyyyymmdd)
Result:
DateTime Now as Ticks (long): 1448619422429
DateTime Now as yyyy-mm-dd: 2015-11-27

Changed: , Category: DateTime, File: T6C183M1335.htm, ID: 1335