Re: some class for datetime



"Peter" <Peter@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:24F60BF7-EA1C-4060-A5AA-EC96C789B0E4@xxxxxxxxxxxxx
Doe exist in STL some class that stores year, onth , day, hour,
minute second, and provides comparing of two datetimes or arithmetic ?

Not in STL, but in standard C library. See time_t, struct tm, mktime et
al.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.



Relevant Pages

  • Re: Polyspace Problem
    ... struct __type_traits{ ... Get rid of the leading underscores. ... STL being the C++ Standard Template Library. ...
    (comp.lang.c)
  • Re: Polyspace Problem
    ... struct __type_traits{ ... Get rid of the leading underscores. ... STL being the C++ Standard Template Library. ...
    (comp.lang.c)
  • Re: main() in C90
    ... The Standard does not require this. ... is mktime the only standard function that builds a struct tm. ...
    (comp.lang.c)
  • Re: main() in C90
    ... The Standard does not require this. ... commonplace) for people to roll their own struct tm objects. ... Nor is mktime ...
    (comp.lang.c)
  • Re: STL and Visual C++ .net conflicts
    ... Remove all of the old STL headers from the project. ... >'struct' type redefinition ... part of the standard library and shouldn't be included in your project ...
    (comp.lang.cpp)

Quantcast