| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2012-08-09 12:13 UTC] anon at anon dot anon
  [2012-08-09 12:16 UTC] pajoye@php.net
  [2012-08-09 12:16 UTC] pajoye@php.net
 
-Package: date_time
+Package: Date/time related
  [2012-09-17 06:51 UTC] david at nnucomputerwhiz dot com
  [2012-09-17 06:53 UTC] aharvey@php.net
 
-Status: Open
+Status: Not a bug
  [2012-09-17 06:53 UTC] aharvey@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 15:00:01 2025 UTC | 
Description: ------------ I have use this date:- $exp_date = "2050-12-31 00:00:00"; $timestamp = strtotime($exp_date); echo $timestamp; But i got no timestamp value for it. Also, I am using this following code:- list($year, $month, $date) = explode('-', $exp_date); $timestamp = mktime(0,0,0, $month,$date,$year); echo $timestamp; But i also got no timestamp value for it. Test script: --------------- I have use this date:- $exp_date = "2050-12-31 00:00:00"; $timestamp = strtotime($exp_date); echo $timestamp; list($year, $month, $date) = explode('-', $exp_date); $timestamp = mktime(0,0,0, $month,$date,$year); echo $timestamp; Expected result: ---------------- It show return a timestamp value even after the year 2037. Till the year 2037 it is returning valid timestamp value, but after that it does not return any timestamp value.