trial period

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..
Google
c++ unix time
thnks for ur response...
but i make my .afl file as 7 days trial period....so what can i do?
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
Topic archived. No new replies allowed.