[ create a new paste ] login | about

Link: http://codepad.org/E6yioBvn    [ raw code | output | fork ]

C++, pasted on May 5:
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <iostream>
#include <string>
#include <time.h>

using namespace std;

int main()
{
  time_t date = 12345678;
  string DATE = ctime(&date); 
  cout << DATE;
  return 0;
} 


Output:
1
Sat May 23 21:21:18 1970


Create a new paste based on this one


Comments: