473,721 Members | 2,254 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ERROR: date/time field value out of range: "28/05/2004 02:15:57"

I'm runnig Redhat 7.3 with postgresql 7.3.4 builded from sources and
upgraded recently. I receive this error ( never received before upgrade
) and I don' t know what to do.

Error while executing the query; ERROR: date/time field value out of
range: "28/05/2004 02:15:57"

SQL = "insert into
kleweshp_pror(p rcod_id,prdator d,prcodcli,prco dage,prcodlis,p rcodval,prscocl 1,prscocl2,prco dart,prqtaord,p rprezzo,prdatev a,prscont1,prsc ont2,prscont3,p rscont4,prcodde s,prconprg,prfl gcon,prstaord)
values (1,'28/05/2004
02:15:57','1410 0001','','00001 ','EUR',0.00,0. 00,'F15012711 ',2.000,
48.60000,null,-40.00,-15.00,0.00,0.00 ,'001 ','','','P')"
In my log the message is :

ERROR: date/time field value out of range: "28/05/2004 02:15:57"
HINT: Perhaps you need a different "datestyle" setting.

I've tried change datestyle to Postgresql, European, and so, but nothing
happend.

Can you help me ?

Ciao, Samu.

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 23 '05 #1
2 15144

On 28/05/04, kaka (ka**@darpha.co m) wrote:
I'm runnig Redhat 7.3 with postgresql 7.3.4 builded from sources and
upgraded recently. I receive this error ( never received before upgrade
) and I don' t know what to do.

Error while executing the query; ERROR: date/time field value out of
range: "28/05/2004 02:15:57"

SQL = "insert into
kleweshp_pror(p rcod_id,prdator d,prcodcli,prco dage,prcodlis,p rcodval,prscocl 1,prscocl2,prco dart,prqtaord,p rprezzo,prdatev a,prscont1,prsc ont2,prscont3,p rscont4,prcodde s,prconprg,prfl gcon,prstaord)
values (1,'28/05/2004
02:15:57','1410 0001','','00001 ','EUR',0.00,0. 00,'F15012711 ',2.000,
48.60000,null,-40.00,-15.00,0.00,0.00 ,'001 ','','','P')"

Looks like there is a return in your date data. Also, is it a date field
or a timestamp field? What happens if you insert '2004-05-28'?

Rory
--
Rory Campbell-Lange
<ro**@campbel l-lange.net>
<www.campbell-lange.net>

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postg resql.org so that your
message can get through to the mailing list cleanly

Nov 23 '05 #2
On 28/05/04, kaka (ka**@darpha.co m) wrote:
It' s not a return or so stupid problem. If I put 2004-05-28 It works
perfectly. I don't want date in this format! Rory Campbell-Lange ha scritto:
On 28/05/04, kaka (ka**@darpha.co m) wrote:
Error while executing the query; ERROR: date/time field value out of
range: "28/05/2004 02:15:57"

SQL = "insert into
kleweshp_pror (prcod_id,prdat ord,prcodcli,pr codage,prcodlis ,prcodval,prsco cl1,prscocl2,pr codart,prqtaord ,prprezzo,prdat eva,prscont1,pr scont2,prscont3 ,prscont4,prcod des,prconprg,pr flgcon,prstaord )
values (1,'28/05/2004
02:15:57','14 100001','','000 01','EUR',0.00, 0.00,'F15012711 ',2.000,
48.60000,null ,-40.00,-15.00,0.00,0.00 ,'001 ','','','P')"


What does \d kleweshp_pror say?
--
Rory Campbell-Lange
<ro**@campbel l-lange.net>
<www.campbell-lange.net>

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postg resql.org

Nov 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
5112
by: David Dürrenmatt | last post by:
Hi. If I try to use decompyle (decompyle-2.3) for pyc-files < version 2.0, I get an error with marshal_20 (ImportError: dynamic module does not define init function (initmarshal_20) ). marshal_20 was compiled to a so-file using gcc. Does anybody know where this error could come from and how to solve it? Thanks,
3
4351
by: Marcia Gulesian | last post by:
Is there a way to replace the URL value below, on the fly? <META HTTP-EQUIV="Refresh" CONTENT="3;URL=http://www.some.org/some.html">
10
4853
by: gregory_may | last post by:
I have an application I created called "JpegViewer.exe". It simply loads a Jpeg file and displays in on the screen. It works great, in my lab. When I am using it at a customer site, things change. Occasionally, it blows up with an Application Exception. It seems to only die at the customer site
1
7089
by: Nick Nygaard | last post by:
Hi everyone, I'm using O'Reilly's servlet API to make an object based HTTP communication between an Applet and a servlet. Following their own tutorial 10.2.3. Object-based HTTP Communication http://www.unix.org.ua/orelly/java-ent/servlet/ch10_02.htm of how to construct e.g. a day time server, gives me: java.io.StreamCorruptedException: invalid stream header
3
1975
by: N. Graves | last post by:
Hello, I don't understand this error message." Error accessing File. Network Connection may have been lost." I'm not using any network connection for the database. In the VBA editor is goes to "Private Sub Form_DblClick(Cancel As Integer)". I have been making a bunch of changes and I'm sure I have done something to corrupt this mdb but I don't know where to start of this one. I hope there is help for me...
6
2719
by: M Welinder | last post by:
The title more or less says it all: in C99, is the value of INT_MIN % -1 well defined (when performed as signed integers) under the assumption of two-complement representation. Note, that this is not the usual negative-values-and-% question -- the problem here is that the corresponding signed division, INT_MIN / -1, overflows. Thus I don't see what use a%b = a-(a/b)*b can be here.
0
1789
by: David T | last post by:
Has anyone run across this error? When calling any of several visualization routines from FiPy, Python quits with a Bus Error I'm using MacOS X Tiger 10.4.3, and I've tried several builds of Python 2.4: Framework build of 2.4.1, Fink build of 2.4.2, Fink build of vtkPython 2.4.2. Same crash from each.
8
1799
by: Rasmus Kromann-Larsen | last post by:
The With Conundrum I'm currently writing a master thesis on (preparations for) static analysis of JavaScript, and after investigating the with statement, it only even more evident to me that the with statement is indeed bad. My initial thoughts on with were based on: http://yuiblog.com/blog/2006/04/11/with-statement-considered-harmful/ I built some examples to investigate - and later try to "eliminate"
2
31771
by: tridirk | last post by:
Hi; I am getting a Objceted Expected Error on my forum site. I can't find what is wrong? Line: Char: Error: Object expected Code:0 the site is My SMF Forum
0
8840
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9215
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9131
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9064
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8007
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6669
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4753
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3189
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2130
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.