Oct 14, 2013 at 11:40am UTC
hii
I have make an application as trial period .In this application contain .afl file it Contain my functionality and this file make as trial period i am beginner in this so please help me....plz help..
Oct 15, 2013 at 4:25am UTC
thnks for ur response...
but i make my .afl file as 7 days trial period....so what can i do?
Oct 15, 2013 at 5:25pm UTC
Ok, so you start your trial right now, so your Epoch time would be 1381857376, which is the number of seconds since 1/1/1970.
To add 7 days you would say
Sec*Min*Hrs*Days
60*60*24*7 = 604800
The trial would end at 1382462176 seconds.
which converts to Tue, 22 Oct 2013 17:16:16 GMT.
Here is a online converter that might give you some ideas, or just use to check your values.
http://www.epochconverter.com/
Somewhere you would either record the trial start period or the trial end period and check that value each time your program runs.
Last edited on Oct 15, 2013 at 5:27pm UTC