hi friends,
1]
I need to calculate the expiry date of an application i.e
when the application is opened for the first time ,I will note down the date and time using TTime class : [ time.Hometime() ]
2] Then every time when I open the application I wil get the current date and time using TTime class then calculate the difference between dates of 2 TTime objects and then decide
whether the product has expired or no.
3]
But the issue here is, TTime class returns me the date time set by the user in the clock application of the phone.
In this user can always set the date before the expiry date and the application wil never expire.
So, what i want to ask is, can I get the [System Date and time] and not the one set by the user. Is there any way??
Thanks,
himanshu k

Reply With Quote




