Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Strip Timestamp from a salesforce field

Hi All,

I have a field "CreadyBy" in salesforce and I want to strip the timestamp from that field.

When I bring in the data in qliksense This field is called "CreatedByID". How can I write a script to strip only the timestamp

3 Replies
ahaahaaha
Partner - Master
Partner - Master

Hi,

Try

TimeStamp#(SubField(CreatedByID, ', ', 2), 'MM/DD/YYYY h:mm')

sunny_talwar

May be like this

LOAD TimeStamp(TimeStamp#(SubField(CreatedByID, ', ', -1), 'M/D/YYYY h:mm TT')) as TimeStamp

sasiparupudi1
Master III
Master III

SubField(CreatedByID, ', ', 1),