genericopenlibs/openenvcore/libc/src/clock_funcs.cpp
changeset 18 47c74d1534e1
parent 0 e4d67989cc36
child 45 4b03adbd26ca
--- a/genericopenlibs/openenvcore/libc/src/clock_funcs.cpp	Tue Feb 02 02:01:42 2010 +0200
+++ b/genericopenlibs/openenvcore/libc/src/clock_funcs.cpp	Fri Apr 16 16:46:38 2010 +0300
@@ -80,10 +80,8 @@
 	switch(clock_id)
 	{
 		case CLOCK_REALTIME:
-			//Since Symbian OS is not realtime,we simulate the same using
-			//the available wall clock.We use TTime::HomeTime() call to get
-			//the wall clock time
-			t.HomeTime();
+			//We use TTime::UniversalTime() call to get the Universal time
+			t.UniversalTime();
 			err = t.SecondsFrom(UNIX_BASE, iSeconds);
 			t-=iSeconds;//extracting seconds info into iSeconds
 			if (!err)