Title: date format
Last modified: March 2, 2020

---

# date format

 *  Resolved [clelli](https://wordpress.org/support/users/clelli/)
 * (@clelli)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/date-format-188/)
 * Hello
    Everything works fine except for the “Add new task at specified time” 
   option. This option works only if I change the default data format for WP into
   Y-m-d. I’m using the Italian default format (d / m / Y), and into this mode the
   plugin says: “* A future time needs to be set, not past” when i create an event.
   There is a way to solve this? thank you Claudio

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/date-format-188/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/date-format-188/page/2/?output_format=md)

 *  Plugin Author [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/date-format-188/#post-12499361)
 * Hi,
 * Indeed, the PHP function `strtotime()` cannot handle it very well.
 * Can you try the development version [1.4.8b01](https://downloads.wordpress.org/plugin/task-scheduler.zip)?
   It should fix the problem.
 * Let me know if it works for you or not.
 *  Thread Starter [clelli](https://wordpress.org/support/users/clelli/)
 * (@clelli)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/date-format-188/#post-12500183)
 * thank for your answer but also the new version doesn’t work. Same problem on 
   date.
 *  Plugin Author [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/date-format-188/#post-12501599)
 * Hmm,
 * Not sure it should work…
 * Can you go to Dashboard and at the end of the URL in the browser, change it to`
   options.php`? The URL should look like, `http(s)://{your-site-domain}/wp-admin/
   options.php` Then, scroll down and find the `date_format` field. Tell me the 
   value set there.
 *  Thread Starter [clelli](https://wordpress.org/support/users/clelli/)
 * (@clelli)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/date-format-188/#post-12502120)
 * date_format d/m/Y
 *  Plugin Author [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/date-format-188/#post-12502144)
 * That looks fine.
 * Can you tell me the exact date input value that causes the error?
 *  Thread Starter [clelli](https://wordpress.org/support/users/clelli/)
 * (@clelli)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/date-format-188/#post-12502183)
 * 03/03/2020 10:00
 * here are 09.42 AM
 * if i input 03/03/2020 11:00 works!
 *  Thread Starter [clelli](https://wordpress.org/support/users/clelli/)
 * (@clelli)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/date-format-188/#post-12502286)
 * i’ve received at 10.04 a mail scheduled for today at 11.04 .
    I think that the
   problem is on timezone, I’ve Rome timezone set and the time of WP is correct.
   I think that plugin use universal time!
 *  Plugin Author [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/date-format-188/#post-12502319)
 * Tell me the `gmt_offset` and `timezone_string` values in `options.php`.
 *  Thread Starter [clelli](https://wordpress.org/support/users/clelli/)
 * (@clelli)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/date-format-188/#post-12502379)
 * gmt_offset blank
    timezone_string Europe/Rome
 *  Plugin Author [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/date-format-188/#post-12502434)
 * I see. That’s why.
 * Can you go to Dashboard -> Settings -> General -> Timezone and try setting `UTC
   +1` there to see if it makes any difference?
 * Probably it will work. I’ll see if what I can do for cases that the user sets
   the site timezone as a location.
 *  Thread Starter [clelli](https://wordpress.org/support/users/clelli/)
 * (@clelli)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/date-format-188/#post-12502594)
 * no same error
    now gmt_offset is 1
 *  Plugin Author [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/date-format-188/#post-12502844)
 * That’s strange.
 * Can you go to Dashboard -> Task Scheduler -> Tasks and check the time followed
   with the text `the current server set time:` if it is the correct current time
   in your time zone?
 * Also, tell me the exact plugin version.
 *  Thread Starter [clelli](https://wordpress.org/support/users/clelli/)
 * (@clelli)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/date-format-188/#post-12502906)
 * The background task monitoring routine is Running. The last checked time: 2020/
   03/03 12:57:45 The current server set time: 2020/03/03 12:58:07
 * the time is ok for me
 * Versione 1.4.8b01
 *  Thread Starter [clelli](https://wordpress.org/support/users/clelli/)
 * (@clelli)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/date-format-188/#post-12503490)
 * i think i’ve found the problem
    screenshot here: [https://mega.nz/#!OIx03YKD!lhiD12__zuC3-gK_YIBMYJZY1w6rbjFAhJyYs1_4NAM](https://mega.nz/#!OIx03YKD!lhiD12__zuC3-gK_YIBMYJZY1w6rbjFAhJyYs1_4NAM)
    -  This reply was modified 6 years, 3 months ago by [clelli](https://wordpress.org/support/users/clelli/).
 *  Plugin Author [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/date-format-188/#post-12503583)
 * It doesn’t occur here. They match each other.
 * Here we have two separate issues.
    1. d/m/Y date format gets miscalculated 2.
   the time is miscalculated when `gmt_offset` is not set
 * Can you try the development version [1.4.8b02](https://downloads.wordpress.org/plugin/task-scheduler.zip)?(
   the same link) Now it forces the date format to the fixed one set by the plugin.
 * It should solve the first issue at least. Not sure about the second issue though.
 * Let me know how it goes.

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/date-format-188/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/date-format-188/page/2/?output_format=md)

The topic ‘date format’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/task-scheduler_ffffff.svg)
 * [Task Scheduler](https://wordpress.org/plugins/task-scheduler/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/task-scheduler/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/task-scheduler/)
 * [Active Topics](https://wordpress.org/support/plugin/task-scheduler/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/task-scheduler/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/task-scheduler/reviews/)

## Tags

 * [date format](https://wordpress.org/support/topic-tag/date-format/)
 * [strtotime](https://wordpress.org/support/topic-tag/strtotime/)

 * 18 replies
 * 2 participants
 * Last reply from: [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/date-format-188/page/2/#post-12515170)
 * Status: resolved