Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Remove minutes and seconds in the date

Hello everyone ,
I have a problem that concerns the date .
I have a golf date : 07/20/2014 00 : 00.00 . How can I remove the minutes and seconds remaining intact date .
Thank you

10 Replies
sunny_talwar

Try this may be:

Date(Floor([golf date])) as [golf date]

arulsettu
Master III
Master III

try like this

date(floor(golf date) )as date

sunny_talwar

Although you did not mention hours here, but I assume you want to get rid of hours as well?

avinashelite

As per your statement you need to only remove the mins and sec not the hours?? or do you need to remove the entire time portion, if that is the requirement then:

date(floor([golf date]) )as date

if you need hr with the date, then

timestamp([golf date],'DD-MM-YYYY HH')

stephenedberkg
Creator II
Creator II

try this

Date#( DateField, 'M/D/YY') as Date

Not applicable
Author

That's right , even the hours , but I would like to remove the script is the same ? Date(Floor([golf date])) as [golf date]
PrashantSangle

Hi,

Simply use Date()

Date(FieldName)

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Anonymous
Not applicable
Author


Try

MakeDate(golf date) as DateField


or


Date(TimestampFormat(golf date)) as DateField


Thanks,

Bunny

Not applicable
Author

Thank you all for your help