Login
Register
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Login
Register
Calculo Embarazo
Search
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Recommend
this page to a friend!
PHP Pregnancy Week Calculator
>
All threads
>
Calculo Embarazo
>
(Un) Subscribe thread alerts
Subject:
Calculo Embarazo
Summary:
Mi propuesta
Messages:
2
Author:
Gerardo Sanchez
Date:
2019-12-27 14:34:52
1. Calculo Embarazo
Reply
Report abuse
Gerardo Sanchez - 2019-12-27 14:34:52
<?php
$fecha = $_REQUEST['fecha'];
$hoy = time();
$lafecha = strtotime($fecha); // y/m/d
$dif = $hoy - $lafecha;
echo "Tiene ".round(($dif / (60 * 60 * 24))/7)." semanas de embarazo";
?>
2. Re: Calculo Embarazo
Reply
Report abuse
Dannel - 2019-12-27 15:36:57 -
In reply to
message 1
from Gerardo Sanchez
Me parece bien pues yo soy bien novato en php y recien estoy aprendiendo y compartiendo mis ideas, descubro un mundo fascinante en el php. Gracias camarada.
About us
Advertise on this site
Site map
Newsletter
Statistics
Site tips
Privacy policy
Contact
Copyright (c)
Icontem
1999-2025
For more information send a message to
info at phpclasses dot org
.
image/svg+xml
image/svg+xml
Contact us using Messenger