viksoe.dk

CLongDate class


This article was submitted .


This class wraps the "YYYYMMDDHHNNSS" string date format.

Just like MFC contains several classes for wrapping various date/time formats, this particular format was used in a database application I managed. So I wrote a wrapper class for it.
Among other things the class converts seamlessly between the time_t data type and this long date string.

Source Code Dependencies

Microsoft MFC Library
My Global MFC functions

Download Files

DownloadSource Code (4 Kb)