Mostrando Codigo - Asp
EXPLICACION
DateDiff - Suele ser utilizado para jugar con fechas
<html>
<body>
<p>Cuenta hacia el año 3000:</p>
<p>
<% millennium= cdate ( "1/1/3000 00:00:00" ) %>
It is
<% response .write ( DateDiff( "yyyy" , Now ( ) , millennium) ) %>
años hasta el 3000!
<br>
It is
<% response .write ( DateDiff( "m" , Now ( ) , millennium) ) %>
meses hasta el 3000!
<br>
It is
<% response .write ( DateDiff( "ww" , Now ( ) , millennium) ) %>
semanas hasta 3000!
<br>
It is
<% response .write ( DateDiff( "d" , Now ( ) , millennium) ) %>
dias hasta el 3000!
<br>
It is
<% response .write ( DateDiff( "h" , Now ( ) , millennium) ) %>
horas hasta el 3000!
<br>
It is
<% response .write ( DateDiff( "n" , Now ( ) , millennium) ) %>
minutos hasta el 3000!
<br>
It is
<% response .write ( DateDiff( "s" , Now ( ) , millennium) ) %>
segundos hasta el 3000!
</p>
</body>
</html>
ENLACE AL CODIGO
Si quieres enlazar desde tu pagina a este codigo
COMENTARIOS
Aun no existe ningun comentario para este Codigo.