Visualizzazione dei risultati da 1 a 3 su 3

Discussione: diffdata

  1. #1

    diffdata

    se faccio:

    $diff=(int)(abs(strtotime("07-03-2005") - strtotime("now"))/86400);

    perché mi da 776giorni? :'(
    GdR Online - http://lenar.it/
    Yesterday is history. Tomorrow is mystery.
    Today is a gift. That's why it's called the present

  2. #2
    Devi invertire la data e metterla nel formato inglese
    AAAA-MM-GG,
    probabilmente come hai fatto prende l'anno 2007...

  3. #3
    ma smackkkk
    GdR Online - http://lenar.it/
    Yesterday is history. Tomorrow is mystery.
    Today is a gift. That's why it's called the present

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.