Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7920831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T16:21:46+00:00 2026-06-03T16:21:46+00:00

I am using php version 5.3.8 And mktime is not working for me here

  • 0

I am using php version 5.3.8
And mktime is not working for me

here is the code

$dated= mktime(0,0,0,11,5,2038);
var_dump($dated);

Output is as bool(false)
Please suggest me its fix

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T16:21:47+00:00Added an answer on June 3, 2026 at 4:21 pm

    From PHP manual:

    Before PHP 5.1.0, negative timestamps were not supported under any
    known version of Windows and some other systems as well. Therefore the
    range of valid years was limited to 1970 through 2038.

    One possible solution is to use ADOdb Date Time Library. This library overcomes the limitations by replacing the native function’s signed integers (normally 32-bits) with PHP floating point numbers (normally 64-bits).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This: var_dump(nl2br(aaa\naaa, false)); Outputs: NULL I am using PHP Version 5.2.13. Doctype is: <!DOCTYPE
using PHP Version 5.3.5 I am going insane. This piece of code is giving
I'd like to implement a multiselect function using jqGridRender (the php only version of
I'm using two different version of php on two different OS's. One is 5.2.9
We're using the Mantis bugtracker (version 1.1.8), which is based on PHP. To ease
I'm using XAMPP (latest version) on OS 10.6.2, that's bundled with PHP 5.3.0 I
I am tryign to send email using xampplite version 1.7.7. I changed my PHP.ini
I'm using PHP Version 5.1.6 and trying to escape a query string from my
I'm using PHP Version 5.1.6 I have a string (session file) and need to
I'm using PHP version 5.3.2 on both my local development server and remote web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.