dbTalk Databases Forums  

Time

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Time in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Zephyr
 
Posts: n/a

Default Time - 02-16-2005 , 04:03 AM






Hi,

I'am facing a strange behaviour of my ORACLE 9.2.0.4 server.
I always get the same time back from

select to_char(sysdate, ('DD.MM.YYYY HH24:MM')) ActualTime from dual;


ACTUALTIME
----------------
16.02.2005 10:02

I added seconds output to the query and the secondes will be counted
correctly,
but after the time 10:02:59, the time will be return to 10:02:00. After an
hour the
time will be set to 11:02.

The Parameter fixed_date has o value.

Any ideas how to get the time working again?

Thanks
Patrick



Reply With Quote
  #2  
Old   
dhh@my.invalid
 
Posts: n/a

Default Re: Time - 02-16-2005 , 04:35 AM






,Zephyr <p.neumann (AT) ids-scheer (DOT) de> wrote:
: Hi,

: I'am facing a strange behaviour of my ORACLE 9.2.0.4 server.
: I always get the same time back from

: select to_char(sysdate, ('DD.MM.YYYY HH24:MM')) ActualTime from dual;
^^
MI

: ACTUALTIME
: ----------------
: 16.02.2005 10:02

: I added seconds output to the query and the secondes will be counted
: correctly,
: but after the time 10:02:59, the time will be return to 10:02:00. After an
: hour the
: time will be set to 11:02.

: The Parameter fixed_date has o value.

: Any ideas how to get the time working again?

: Thanks
: Patrick

HTH Helen (qq45 liverpool ac uk)

Reply With Quote
  #3  
Old   
Norman Dunbar
 
Posts: n/a

Default Re: Time - 02-16-2005 , 07:15 AM



Zephyr wrote:
Quote:
Hi,

I'am facing a strange behaviour of my ORACLE 9.2.0.4 server.
I always get the same time back from

select to_char(sysdate, ('DD.MM.YYYY HH24:MM')) ActualTime from dual;


ACTUALTIME
----------------
16.02.2005 10:02

I added seconds output to the query and the secondes will be counted
correctly,
but after the time 10:02:59, the time will be return to 10:02:00. After an
hour the
time will be set to 11:02.

The Parameter fixed_date has o value.

Any ideas how to get the time working again?

Thanks
Patrick


Change 'HH24:MM' to 'HH24:MI' - you've got MONTHS where you want MINUTES )


Cheers,
Norm.


Reply With Quote
  #4  
Old   
Zephyr
 
Posts: n/a

Default Re: Time - 02-16-2005 , 09:48 AM



Sorry for this newby question, I need to go home or some holidays ;-)

Quote:
Change 'HH24:MM' to 'HH24:MI' - you've got MONTHS where you want MINUTES
)




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.