• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

strtotime

  1. Kepala Suku

    Catatan Macam-Macam Penggunaan STRTOTIME

    $timestamp = strtotime('10:09') + 60*60; // 10:09 + 1 hour $timestamp = strtotime('10:09') + 60*60*2; // 10:09 + 2 hours $timestamp = strtotime('10:09') - 60*60; // 10:09 - 1 hour Hari ini ditambah 7 hari kemudian. date("Y-m-d H:i", strtotime('+7 day')) Tujuh menit yang akan datang date("Y-m-d...