Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How can sort special format date in search object's results?

I have a search object that linked to a field contains Persian dates , I wanna sort in in decreasing way

20 Replies
Not applicable
Author

dear Ralf

I attached a sample and want to persian date in list box

thanks

rbecher
MVP
MVP

Please find attached. You can select Today indirectly via GREGORIAN_DATE.

- Ralf

Astrato.io Head of R&D
mr_ramshini
Contributor III
Contributor III

Hi Ralf

Can i do it without list box?

i want convert system date to persian date and show it on text box

please help me

Thanks

mr_ramshini
Contributor III
Contributor III

Hi

i want change date to persian date

please help me

Thanks

rbecher
MVP
MVP

Hi Hossein,

if you use my app above you can code in a text box:

=minstring({1<QV_DATE_NUM={"$(=num(today(1)))"}>} PERSIAN_DATE)

- Ralf

Astrato.io Head of R&D
mr_ramshini
Contributor III
Contributor III

Hi

Thanks for your help

but i have a qv file and i want show the last execution time to persian date on text box

but i can't solve it

please help me

rbecher
MVP
MVP

Do you mean the date of last script load? This would be:

=minstring({1<QV_DATE_NUM={"$(=num(today(0)))"}>} PERSIAN_DATE)

Astrato.io Head of R&D
rbecher
MVP
MVP

ReloadTime() as Persian Date would be:

=minstring({1<QV_DATE_NUM={"$(=num(today(0)))"}>} PERSIAN_DATE)

& ' ' & Time(TimeStamp#(ReloadTime()))

- Ralf

Astrato.io Head of R&D
mr_ramshini
Contributor III
Contributor III

Hi Ralf

your answer was very useful

but i can do it without persian_date_rb file?

In fact i want change my system date to persian date with out i use of persian_date_rb file?

rbecher
MVP
MVP

Hi Hossein,

no, because QlikView doesn't know a Persian date..

- Ralf

Astrato.io Head of R&D