mloonjin
July 13th, 2005, 01:35 AM
I have read some book for the concept.but it is different between different books .I want to know the good answer base on the person who hold rich experience.
thank you
thank you
|
Click to See Complete Forum and Search --> : please tell me about the definition of "Date Structrue" mloonjin July 13th, 2005, 01:35 AM I have read some book for the concept.but it is different between different books .I want to know the good answer base on the person who hold rich experience. thank you manish_velankani July 13th, 2005, 01:52 AM Well I do not have a very rich experience, still if it helps have a look. There are various formats available. It depends whether you are picking it up from system library or compiler library. System implementation may differ so you should stick to compiler format. C++ provides a header file <ctime> which you can use. For detail explanation of formatting look at : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_strftime.2c_.wcsftime.asp And if you want to use system part still and you are on unix or related platform just have a look at man pages. mitakeet July 13th, 2005, 06:01 AM The problem with the date is that no one can agree on what a set of valid date formats are. That is one primary reason why C++ lacks any built-in date type beyond what is supplied by C. Not impressed? Try writing your own! stober July 13th, 2005, 06:11 AM All the functions in time.h are ANSI standard and supported by every ANSI standard-compliant compiler. There are, of course, a lot of other date formats which are operating system dependent. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |