Wrong date and time in work flow emails

Hello SuiteCRM users!

When I create a case, and enter a scheduled date and time (which is in american standard) 03/22/2018 11:00am. It shows correctly in the SuiteCRM but when I get the email notification, the time it shows is off, and not in american standard like this 2018-03-22 13:00:00.

What could this be?

Do you mean that the time is wrong (like a few hours off) or simply that the display format is wrong?

My main suspicion would be that you haven’t set up your date.timezone settings in the php.ini that Workflow uses.

You see, if you’re running your Scheduler jobs from cron, which is the usual, it’s command-line PHP (CLI), so it uses a different php.ini than the rest of the web app.

Type this to see which php.ini your CLI is using:

php -i | grep php.ini

and this to quickly check your timezone setting there:

php -i | grep timezone
1 Like