Home
Blogs
Questions

Home

About Us

Blogs

Questions

Monetize

Post Job

banner

Questions about strtotime

Read more about strtotime

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - strtotime

strtotime stopped working with change of new year (2022)

I have the following piece of code to find next month, if before the 20th, and two months out, if after the 20th. Then it converts the month number to a character. Before January 2022 I was able to g...
test-img

ACKmiecik

date-format

strtotime

Votes: 0

Answers: 1

Latest Answer

Use **$month = date_format($current_month, 'm');** Instead of *$month = strtotime($current_month);*
test-img

ACKmiecik

Posts

Questions

Blogs

Where knowledge meets opportunity!

About

  • Company
  • Monetize your knowledge
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved