timestamp problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • zion1459

    #1

    timestamp problem

    Hi,

    having a problem using timestamps... all timestamps in the database is
    are made correctly. It's when I try to convert them it goes wrong.

    now the weird part is, if I just do a date("D M j G:i:s T Y") to print
    out the servers time it works perfectly... but as soon I include a
    variable with the timestamp date("D M j G:i:s T Y", $some_var) it
    doesn't work... it prints out something with year 2038. Been trying
    timefstr too but with no luck.

    any1 got any ideas?

    thx in advance,
    regards zion1459.
Working...