Date and Time in RLP

how do you get the date and time utc in native code?
I tried to include <time.h> in my class but at make time I get the following error:
… / Reent / timesr.c: 60 undefined reference to ‘_times’


Which board?

It’s a Fez Cobra II (G120) !!

You have two options:

  1. Pass Date/Time from NetMF to RLP when calling a method
  2. Read RTC from RTC registers (LPC_RTC struct in lpc 1788 header file)