SystemTime::GetCurrentTime problems?

SystemTime::GetCurrentTime problems?

BY 14 Jun 2013 Native Application Development

Hi There,

This is my phone settings for time/date:

Now if I run this code:

    DateTime time;
    SystemTime::GetCurrentTime(TIME_MODE_WALL, time);
    AppLog(“%S”, time.ToString().GetPointer());
    SystemTime::GetCurrentTime(TIME_MODE_STANDARD, time);
    AppLog(“%S”, time.ToString().GetPointer());
    SystemTime::GetCurrentTime(TIME_MODE_UTC, time);
    AppLog(“%S”, time.ToString().GetPointer());

I have to following output:

virtual void testForm::OnActionPerformed(const Tizen::Ui::Control &, int)(78) > 06/13/2013 19:38:43
virtual void testForm::OnActionPerformed(const Tizen::Ui::Control &, int)(80) > 06/13/2013 19:38:43
virtual void testForm::OnActionPerformed(const Tizen::Ui::Control &, int)(82) > 06/13/2013 18:38:43
 

So it seems the TIME_MODE_WALL does not return the wall time, as if you see, it was 20:38, and not 19:38.
Or maybe I misunderstand something?

Thanks,
   Zoli

Written by