27.11.2009, 22:29
Hi, just wondering, I'd like to store the time in seconds for two sepperate uses.
I would like to store it using gettime(); so then it would give me the long number in seconds.
I'm wondering if there is a way to convert that into dd/mm/yyyy 00:00
I know already about getdate(year, month,day); But i dont wan't to use that way, i will if i have to but i would prefer to convert seconds into day, month, year, and time.
If it is possible. Would be more or less efficient to store it sepperatly using gettime(); and then getdate(year,month,day);
I would like to store it using gettime(); so then it would give me the long number in seconds.
I'm wondering if there is a way to convert that into dd/mm/yyyy 00:00
I know already about getdate(year, month,day); But i dont wan't to use that way, i will if i have to but i would prefer to convert seconds into day, month, year, and time.
If it is possible. Would be more or less efficient to store it sepperatly using gettime(); and then getdate(year,month,day);