[i18n] datepicker & datetime label

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

[i18n] datepicker & datetime label

Postby rbs » December 24th, 2014, 8:18 pm

Hi .
Using i18n , I tried to get & show current cultured date(jalali) from intldatepicker and/or intldatetime label . but result was system date whiteout culture and change . Like this :
Image

after some search i found the function "format", but it only work by intlmonthcalendar .
finally i use this :
Code: Select all
Edit1.Text:=IntlMonthCalendar1.Format('dddddd',IntlDatePicker1.Date);

there is not any faster way ?
or any function for get "jalali" date directly from "i18nCalendar" ?!

TanQ.
rbs
Member
Member
 
Posts: 1
Joined: December 23rd, 2014, 8:30 am

Re: [i18n] datepicker & datetime label

Postby dec » December 30th, 2014, 12:03 am

Hello,

Do not exists in "intldatepicker" a property like "LocaleDate" or "CultureDate" instead "Date"? I can't remember at this time, but, if you can view the correct data in the component, probably you can get it using some property...
dec
Senior Member
Senior Member
 
Posts: 56
Joined: July 17th, 2011, 12:33 am


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 22 guests

cron