Page 1 of 1

[i18n] datepicker & datetime label

PostPosted: December 24th, 2014, 8:18 pm
by rbs
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.

Re: [i18n] datepicker & datetime label

PostPosted: December 30th, 2014, 12:03 am
by dec
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...