fork download
  1. #include <iostream>
  2. #include <ctime>
  3.  
  4. int main()
  5. {
  6. std::time_t the_beginning_of_time {} ;
  7. std::cout << "earliest timepoint that can be handled by the library is:\n"
  8. << std::ctime( &the_beginning_of_time ) ;
  9. }
  10.  
Success #stdin #stdout 0s 3028KB
stdin
Standard input is empty
stdout
earliest timepoint that can be handled by the library is:
Thu Jan  1 00:00:00 1970