Gossamer Forum
Home : Products : DBMan : Customization :

Convert

Quote Reply
Convert
Please,

I need to convert the 9-digit number for unix time into the dd-mmm-yyyy format.

It's not todays date, it's a future date. Can someone please help me with a routine for this..?


Quote Reply
Re: Convert In reply to
Anyone .....?? Help...?
Quote Reply
Re: Convert In reply to
Ok, got it.

In date_to_unix

$new_date = ($time + 86400);

then in get_date

my ($sec, $min, $hour, $day, $mon, $year, $dweek, $dyear, $daylight) = localtime($new_date );