ffgghh Posted July 5, 2006 Report Share Posted July 5, 2006 (edited) Itkā viss ir skaidrs - nosakam dienas npk kopš 1mā janvāra date("z",strtotime("21-Sep-1977")) = 263 BET - Q. a kā visvieglāk un ātrāk reversot šo darbību. Resp. no 263 un zināmā gada pateikt ka tas ir 21-Sep-1977 ??? ps. topikā pazuda 1na iekaviņa... Edited July 5, 2006 by ffgghh Link to comment Share on other sites More sharing options...
KAC Posted July 5, 2006 Report Share Posted July 5, 2006 to 263 paarveert sekundees un tad atliek izmantot date() Link to comment Share on other sites More sharing options...
Vebers Posted July 5, 2006 Report Share Posted July 5, 2006 $x = 263*3600*24; echo date("d-m-Y", $x); Link to comment Share on other sites More sharing options...
ffgghh Posted July 5, 2006 Author Report Share Posted July 5, 2006 PALDIES Link to comment Share on other sites More sharing options...
Recommended Posts