LocalDateTime and Timestamp

Please post support and help requests here.
Posts: 1
Joined: 08 Jan 2014, 17:37

LocalDateTime and Timestamp

Postby adiaz04 » 08 Jan 2014, 17:48

I am trying to print the local time to std out, at compile time I am getting "no match for 'operator<<'" Is there a right way to printing the local date and time ?

here is the basic code.

Code: Select all

#include "Poco/LocalDateTime.h"
#include "Poco/Timestamp.h"

int main ()
  Poco::LocalDateTime now;
  Poco::Timestamp time = now.timestamp ();

  std::out << time << std::endl;
  return 0;

Return to “Support”

Who is online

Users browsing this forum: No registered users and 2 guests