I always had a problem that translate English date to Thai. When server not support localization, it must be problem that i can’t use date() function properly.
So, is there any framework or best practice to handle with server that don’t have our locale installed. For now, I use workaround by hardcode map English text <=> Thai text.
Thanks you.
You could use the PHP library DateTime
Example: