Home
Recent changes

ATL code
WTL code
MFC code
C++ code
.Net code
PocketPC code
Miscellaneous

viksoe.dk

CLongDate class

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)


Written by Bjarke Viksoe.
Article submitted 6/7/2001.