PHP – Date – Fecha actual GMT
Función que devuelve un string con la fecha del día actual GMT (Greenwich Mean Time) en formato yyyy-mm-dd.
/**
* Class HelperDate
*/
abstract class HelperDate
{
/***
* Devuelve el dia actual GMT formato yyyy-mm-dd
* @return string
*/
public static function getTodayGMT()
{
return gmdate('Y-m-d');
}
}
/**
* Class HelperDate
*/
abstract class HelperDate
{
/***
* Devuelve el dia actual GMT formato yyyy-mm-dd
* @return string
*/
public static function getTodayGMT()
{
return gmdate('Y-m-d');
}
}
/** * Class HelperDate */ abstract class HelperDate { /*** * Devuelve el dia actual GMT formato yyyy-mm-dd * @return string */ public static function getTodayGMT() { return gmdate('Y-m-d'); } }