Error date in /hooks/_global

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
User avatar
lramirez
Veteran Member
Posts: 85
Joined: 2019-11-01 23:23

Error date in /hooks/_global

Post by lramirez » 2022-02-02 12:20

Hello good day
I keep a date error when registering a user login to the DB
Does anyone know what is going on please? :|
Everything was working fine and now it looks like the attached image.

Thanks
Attachments
error date.png
error date.png (28.87 KiB) Viewed 1650 times
Luis Ramirez R.

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1944
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Error date in /hooks/_global

Post by jsetzer » 2022-02-02 12:28

Well, if date format 'y' evaluates to "22" this year (2022), then format 'yy' will evaluate to "2222".

Can you try with capital letter 'Y' instead of 'yy'?
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 25.10 + all AppGini Helper tools

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1944
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Error date in /hooks/_global

Post by jsetzer » 2022-02-02 13:04

Code: Select all

$ts = date('d-m-Y H:i:s');
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 25.10 + all AppGini Helper tools

Post Reply