Visualizzazione dei risultati da 1 a 5 su 5

Discussione: errore funzione data

  1. #1
    Utente di HTML.it
    Registrato dal
    Oct 2009
    Messaggi
    1,085

    errore funzione data

    Ciao ..
    caricato il progetto ad hosting ho un errore su una funzione di data ..
    qualcuno sa aiutarmi ?
    Grazie mille

    Codice PHP:
    $data_agg time();                         
    $timestamp date('Y-m-d H:i:s'$data_agg); 

  2. #2
    Utente di HTML.it
    Registrato dal
    Oct 2009
    Messaggi
    1,085
    immagine della segnalazione
    Immagini allegate Immagini allegate

  3. #3
    Aggiungi questo ad inizio pagina:
    Codice PHP:
    date_default_timezone_set('Europe/Rome'); 

  4. #4
    Utente di HTML.it
    Registrato dal
    Oct 2009
    Messaggi
    1,085
    Grazie mille !
    ora funziona

  5. #5

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.