Minggu, 17 November 2013

PHP Indonesia - Facebook: ask : gan cara nyari selisih waktu tahun gimana ya...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Mobile Game Development Course

Learn how to create awesome HTML5 games that run on iPhone, iPad, Android and Desktop! Sign up today for this $99 online course.
From our sponsors
ask : gan cara nyari selisih waktu tahun gimana ya...
Nov 17th 2013, 22:58, by Omarseda

Omarseda 10:58pm Nov 17
ask :
gan cara nyari selisih waktu tahun gimana ya..
problem lengkapnya gini..
misal user memasukn tanggal 25-10-1990 nah cara nyari selisih waktu dgn waktu sekarang gimana ya..
sudh buka2 manual ada beberpa hal yg ga sy pahami.. ada yg bisa memberikan gambaran gan :
1. fungsi cek apakan tanggal input adlh tanggal yg valid dan jika ya fungsi apa yg dipake buat nyimpen input tsb di var.
2. cara mencari selisih waktu dari var tadi dgn waktu skrg.. (sy belum baca2 bagian unix timestamp, jika memg caranya harus diubah dulu kesitu)
3. selisih yg diperlukan dlm tahun.
Terimakasih.

Omarseda 11:00pm Nov 17
up

Omarseda 11:00pm Nov 17
up

Omarseda 11:01pm Nov 17
up

Ahmad Sanusi 11:03pm Nov 17
bentar ane cari dulu

Ahmad Sanusi 11:05pm Nov 17
check disni ->> http://stackoverflow.com/questions/13928021/getting-time-difference-between-two-times-in-php

Ahmad Sanusi 11:05pm Nov 17
ato dimari -> http://stackoverflow.com/questions/365191/how-to-get-time-difference-in-minutes-in-php

Ahmad Sanusi 11:05pm Nov 17
juga -- > http://php.net/manual/en/datetime.diff.php

Ahmad Sanusi 11:06pm Nov 17
kalo masih bingung disini juga ada ->
http://www.if-not-true-then-false.com/2010/php-calculate-real-differences-between-two-dates-or-timestamps/

Al Ghurahy 11:08pm Nov 17
ya itu udah bener tuh.. pake strtotime aja, ntar jd integer microtime kl gavsalah inget.. trus dioperasikan aja scr integer..

Omarseda 11:55pm Nov 17
ok sy baca2 dulu gan. fyi, ini buat form registrasi tgl lahir user. jika dibawah usia 13, dia ga bisa sign up disitus. Thx gan, meluncur dulu.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar