Tema
:
Función fecha
Ver Mensaje Individual
#
2
(
permalink
)
30/05/2011, 04:26
Saneko
Fecha de Ingreso: marzo-2011
Mensajes: 107
Antigüedad: 14 años
Puntos: 22
Respuesta: Función fecha
http://php.net/manual/es/function.date.php
Código PHP:
$hoy
=
date
(
'N'
);
if(
$hoy
==
1
||
$hoy
==
4
)
// lunes = 1, jueves = 4
{
echo
'hoy es'
.
$hoy
.
'.'
;
}
Saneko
Ver Perfil
Buscar todos los Mensajes de Saneko