-
FEATURED COMPONENTS
First time here? Check out the FAQ!
How to specify a 4 digit year yyyy in the format string. For now, I use a 2 digit year yy and because of that, years above 30 are then interpreted as 19xx.
Hi Nik,
You can set a 4 digit year in the datebox format by including the token y
4 times -> yyyy
:
e.g. (using the pattern "yyyy-MM-dd"):
<datebox format="yyyy-MM-dd"/>
Asked: 2019-08-13 20:47:53 +0800
Seen: 10 times
Last updated: Aug 14 '19
Any solution ? if 30 -> 1930, i want 30 -> 2030. But if 29 -> 2029. After 29 has the error. 30->1930, 31->1931....
cawink ( 2023-09-19 02:37:01 +0800 )edit