Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Variable Dates

How to change my variable date in date format when i give vStartdate and vEnddate they automatically change my date in points forms.

see the attachement plz.

6 Replies
jagannalla
Partner - Specialist III
Partner - Specialist III

Hi,

Date($(vEndDate),'DD/MM/YYYY')


or try to store date format in script level

for eg:

Let VEndDate = Date( YourExpression,'DD/MM/YYYY')

Cheers!!

Jagan

tresesco
MVP
MVP

If you want to disregard decimal part and get date, then try like:

=Date(Floor($(vEndDate)))

jagan
Luminary Alumni
Luminary Alumni

Hi,

Try like this

vEndDate = Date(Floor(EndDateValue))

vStartDate = Date(Floor(StartDateValue))


Regards,

Jagan.

Not applicable
Author

HI it still not work i tried all your three tips as mention in comments.


jagan
Luminary Alumni
Luminary Alumni

Hi,

Can you attach sample file?

Regards,

Jagan.

Not applicable
Author

open this link i have attached the sample file

http://community.qlik.com/docs/DOC-6652