CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  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,543

  3. #3
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,234

    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
    "When in Rome, do as Romans do."
    My latest articles: https://codexpertro.wordpress.com/

  4. #4
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    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
  •  





Click Here to Expand Forum to Full Width

Featured