Date and Time manipulation in C++
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Date and Time manipulation in C++

  1. #1
    Join Date
    Oct 2009
    Location
    NY, USA
    Posts
    191

    Date and Time manipulation in C++

    I can't use Date and Time from MFC or boost due to restrictions of what I can run on gcc compiler on linux machines of my school.

    Is there any inbuilt function in standard C++ for date and time manipulation?

  2. #2
    Join Date
    Jul 2002
    Posts
    2,512

  3. #3
    ovidiucucu's Avatar
    ovidiucucu is offline Moderator/Reviewer Power Poster
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,021

    Re: Date and Time manipulation in C++

    And of course, you can look at Time Management functions in MSDN (or in Visual Studio help) .
    To see which ones are portable, check for ANSI compatibility in the documentation.
    Ovidiu Cucu
    "When in Rome, do as Romans do."
    Visit: Microsoft Virtual Academy
    Follow: https://twitter.com/#!/ovidiucucu
    My blog: http://codexpert.ro/blog/author/ovidiu-cucu/

  4. #4
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Fairfax, VA
    Posts
    10,888

    Re: Date and Time manipulation in C++

    One portable option is Boost.Date_Time.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center