Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I'm importing numerous time fields from a qvd which are being imported as hh:mm:ss.
I only require hh:mm and I'm trying to use time(floor(MyTimeField,1/(24*60)),'hh:mm') to remove the 'ss' section of the time.
However, this is only working for some of the records. I'm now getting a mixture of hh:mm:ss and hh:mm.......
Can anyone advise please?
Many thanks,
Phil
Can you share a image of what you are seeing?
a non effective solution could be
Interval(Floor(Interval#(text(YOURFIELD),'hh:mm:ss')),'hh:mm')
Hi,
This is the result:
What do you see if you use this?
= Time(MyTimeField, 'hh:mm')
Floor will make the time 0, you might need to add 1/(24*60) within floor
Is it possible that there are two different sources for the field? One is formatted right and other one not?
try changing the Listbox settings to
and post the result
I am looping through a folder of CSV's and converting these directly to QVDs all the CSV files are identical..... I'm concatenating all the QVDs and trying to convert the timestamps at this point....
Before I attempt any field conversions all values are hh:mm:ss
all values are set to 00:00