I have this function that is converting a timestamp into a date however i can only get it to show the date as this
Jan 11 2005 18:11:00
But I Need to format date into this
Tue Jan 11 2005 6:11pm
Here is the function
can anyone tell me if this is possible please ?
Regards
Olly
Jan 11 2005 18:11:00
But I Need to format date into this
Tue Jan 11 2005 6:11pm
Here is the function
Code:
function timestamp_to_date(ts)
if ts<>"" and isnumeric(ts) then
timestamp_to_date = (dateadd("s",ts,"01/01/1970 00:00:00)
end if
end function
can anyone tell me if this is possible please ?
Regards
Olly