Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Date format

Hi,

I am having date format llike 30-11-2016.txt .how can i remove .txt from the date.

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try like:

Purgechar(DateField, '.txt')

Or,

SubField(DateField,'.' ,1)

View solution in original post

3 Replies
tresesco
MVP
MVP

Try like:

Purgechar(DateField, '.txt')

Or,

SubField(DateField,'.' ,1)

Anil_Babu_Samineni

You can use many ways

1) SubField('30-11-2016.txt', '.', 1)

2) Replace('30-11-2016.txt', '.txt', '')

3) Left('30-11-2016.txt', 10)

4) PurgeChar(''30-11-2016.txt', '.txt')

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable
Author

Thanks for your Immediate rly.