How can "2p" be a date in VBA?

In Access, VBA IsDate("2p")

returns True

Can anyone explain the logic behind this awesome answer?


source to share

1 answer

2 pm.

Dates are time. Whole numbers of days from the day they were in the past. Decompress the time of day in the proportion of 1 day (0.5 - 12 hours).



All Articles