Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Qlikss,
We are using oracle database. but in report it only fetching date part only.
but i want it in timestamp format. why it is not taking timestmp format from source
suggest me.
NVL(OL.DATE,OL.FUL_DATE) as date,
Use the timestamp(date_feild) function
Can you post some sample data showing your source data and target data formats..
i will try this
May be some cases, It will work
TimeStamp(Date#(FieldName, 'DD-MM-YYYY'))
Date(Date#(FieldName, 'DD-MM-YYYY'),'DD-MM-YYYY hh:mm:ss')
Try like
timestamp(TimeStamp#(date_feild))
Hi Suresh,
Can you give a single example of how the datetime format is from Oracle?
e.g. is it DD-Mon-YYYY hh:mm:ss ?
Hello,
It may be that the date field in the database is in Julian format for example 117002 which is 02 / Jan / 2017 if so you can convert it like this:
date(YearStart(MakeDate((((IWIVD - fmod(IWIVD,1000))/1000) + 1900))) + (fmod(IWIVD,1000)-1)) as date
IWIVD as date field from de oracle database.
Regards,
Henry C.
NVL(OL.DATE,OL.FUL_DATE) as date,
but this is sql query
what i hv to do now
NVL(OL.DATE,OL.FUL_DATE) as date,
but this is sql query
what i hv to do now