امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
I am trying to show date 1 year from now and save it in unix timestamp, but no success.
The form below shows me "Jul 28, 2024", but when I pickup any date it shows in different format e.g. 2024-07-28.
How to show and pickup on the same format?
Code:
And during the saving process, it shows "now plus 20 hours", non sense.
How to correctly save it in unix timestamp format?
Code:
Read more
The form below shows me "Jul 28, 2024", but when I pickup any date it shows in different format e.g. 2024-07-28.
How to show and pickup on the same format?
Code:
<xf:dateinput name="expiration" id="expiration" value="{{ date($xf.time + 31536000) }}" required="true" />And during the saving process, it shows "now plus 20 hours", non sense.
How to correctly save it in unix timestamp format?
Code:
$input...Read more
