I need to cast a DATE value in a query to a TIMESTAMP WITH TIME ZONE, but currently I'm getting the TimeZone Region ('Europe / Paris') which is not valid to be used by EF.
For example, when doing this:
select CAST(FECHA AS TIMESTAMP WITH TIME ZONE) from test;
I currently get this output:
07/03/14 09:22:00,000000000 EUROPE/PARIS
But I need it to be like:
07/03/14 09:22:00,000000000 +01:00
Any idea how to accomplish this?
CAST({DATE} AS TIMESTAMP WITH TIME ZONE)
then Oracle takes your currentSESSIONTIMEZONE
- which is obviously set toEurope/Paris
– DelTIMESTAMP WITH TIME ZONE
, and the client consuming the result will understand the type (and hence should be able to understand, thatEUROPE/PARIS
has+01:00
offset for this particular time? – Giffy