genericopenlibs/openenvcore/libc/src/clock_funcs.cpp
branchRCL_3
changeset 54 4332f0f7be53
parent 0 e4d67989cc36
child 56 acd3cd4aaceb
--- a/genericopenlibs/openenvcore/libc/src/clock_funcs.cpp	Thu Jul 15 20:34:46 2010 +0300
+++ b/genericopenlibs/openenvcore/libc/src/clock_funcs.cpp	Thu Aug 19 11:33:45 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)