locked
Convert epoch time to date RRS feed

  • Question


  • I have epoch time value (time elapsed since 1970/01/01 in seconds) and I need to find the corresponding date of that value in C++.
    Can some one plese help me on this.
    Thank you.
    Thursday, December 16, 2010 4:48 AM

Answers

  • Coders wrote:

    I have epoch time value (time elapsed since 1970/01/01 in seconds) and  I need to find the corresponding date of that value in C++.

    gmtime, localtime


    Igor Tandetnik

    • Proposed as answer by Nikita Leontiev Friday, December 17, 2010 10:43 PM
    • Marked as answer by Yi Feng Li Wednesday, December 22, 2010 6:05 AM
    Thursday, December 16, 2010 4:58 AM