| branch | GCC_SURGE |
| changeset 55 | d93ef1df440d |
| parent 47 | f40128debb5d |
| child 60 | 6c158198356e |
--- a/javacommons/security/src.s60/telutils.cpp Tue Jun 22 09:54:11 2010 +0100 +++ b/javacommons/security/src.s60/telutils.cpp Thu Jul 22 16:31:34 2010 +0100 @@ -63,6 +63,18 @@ } } +signed int TelUtils::getSecureTime() +{ + TTime t; + if (t.UniversalTimeSecure()) + { + t.UniversalTime(); + } + TTimeIntervalSeconds sec; + TTime baseTime(MAKE_TINT64(0x00dcddb3 ,0x0f2f8000)); // 1st Jan 1970 + t.SecondsFrom(baseTime, sec); + return sec.Int(); +} void TelUtils::ConstructL() {