How To Get Date
#2

You can use unix timestamps to calculate it. Once you've calculated, you can use a function in the thread (timec) to convert that to a relative time format.

All you have to do is 60 * 60 * 24 * 30 to calculate how many seconds it'll be in 30 days.

The link for 'unix timestamps' directs to a tutorial which also has an example on how you can do this with extra code.
Reply


Messages In This Thread
How To Get Date - by Prosettur - 30.06.2012, 16:16
Re: How To Get Date - by Calgon - 30.06.2012, 16:30

Forum Jump:


Users browsing this thread: 1 Guest(s)