Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm having a file name where I'm extracting date along with time stamp, using timestamp(timestamp(filename)). So far is good.
How ever when I say max of that field, it returns' -.'
Not sure whats happening.
Any suggestions pls?
Can you share the expression behind your second box which is showing null? Also, it seems you have two spaces between your date and time? Did you make sure that you took care of that in your interpretation function?
is it possible that some of the data is null in your timestamp variable?
It is a single file, stored in a variable? So no chance of null.
THe movement I use Max, it doesn't work
there is possibility that timestamp could be in text format.
use timestamp# function and get actual timestamp format.
Regards,
Nilesh
ITS WORKING WHEN I USE MAX STRING
EVEN THEN ITS NOT WORKING
share example in qvw or qvf
What is the Filename ?
for example you can use file name as
XYZ_20_11_2016_00_12.csv'
timestamp(timestamp#(left(right('XYZ_20_11_2016_00_12.csv',20),16),'DD_MM_YYYY_HH_MM'),'MM/DD/YYYY hh:mm:ss TT')