Is it possible to work with DateTime value in C++? -
i'm working api
offers date , time data double
precision decimal value, compatible windows
date/time
format. i'm writing program in c++
, i'd able access elements of data contained within double
date/time
value , format them human readable. example take date/time
value 41411.583333
, print string dd/mm/yyyy hh:mm:ss using c++. please can explain if/how can done?
the coledatetime class (provided in mfc , atl libraries) provides need. includes format member function can print date/time in numerous formats:
http://msdn.microsoft.com/en-us/library/c1ayhyhk(v=vs.80).aspx
Comments
Post a Comment