Corrigindo php date session storage