In c++ non ci sono classi che implementano il tipo data.
Si usa, come in c, la funzione time()/localtime()

codice:
#include <iostream>
#include <ctime>

using namespace std;

int main()
{
  struct tm* t;
  time_t long_time;

  time( &long_time );
  t = localtime( &long_time );

  cout << t->tm_mday << "/" << t->tm_mon+1 << "/" << t->tm_year+1900 << endl;

  return 0;
}
http://www.opengroup.org/onlinepubs/...sh/time.h.html