stencilz Posted February 18, 2007 Report Share Posted February 18, 2007 datubāzē ir 2007-02-18 23:40:23 ar UNIX_TIMESTAMP tas tiek izvilkts ārā, un tiek izdarīts šādi $db_laiks - strtotime("now") un iegūtas tiek trīs stundas, bet tagad ir 22:32 kāpēc uzrodas 2 h vairāk? Link to comment Share on other sites More sharing options...
bubu Posted February 18, 2007 Report Share Posted February 18, 2007 Laika zona? localtime vs GMT. Link to comment Share on other sites More sharing options...
Recommended Posts