Skip to content

Instantly share code, notes, and snippets.

@ErnestoRB
Last active October 25, 2022 16:33
Get current file last modified date php / Obtener ultima fecha de modificacion archivo actual
<div>
<?php
$nombre_archivo = __FILE__;
if (file_exists($nombre_archivo)) {
echo "La última modificación de $nombre_archivo fue: " . date("F d Y H:i:s.", filemtime($nombre_archivo) - (5* 60 *60) );
}
?>
</div>
@ErnestoRB
Copy link
Author

@Haitore cierto, ya hice el cambio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment