|
<< Click to Display Table of Contents >> Navigation: Telegram > 2023 > 08 > 15 > Telegram_2023-08-15T00 |
2023-08-15T00:05:02
Definitely better to store it as an Integer (like the unix date/time) or as a double (as the Delphi TDateTime).
You won't be able to use most RTL date and time routines, but you can't do it currently while storing it as a string anyway, so you will be losing nothing.
Not sure if there are any i18n libraries for Delphi that implement date routines for different calendars but anyway, it wouldn't be too hard to take the existing RTL routines and adapt them to a different calendar. Most things work the same
2023-08-15T00:09:23
Our problems in date system is rather than RTL.
RTL is just typing from right to left., but in calendar and date it is completely different system.
I described it here in this group : type: link https://t.me/IntraWebEn/11651
2023-08-15T00:12:05
Yes, you can't use the existing DateUtils.pas but you can create your own LocalizedDateUtils to be used with a different calendar
2023-08-15T00:23:46
they say they have: The Jalali or Persian Calendar (??????? ?????)