allora puoi usare time() per ottenere l'orario corrente, oppure now() che restituisce sia la data che l'ora correnti