Re: DateTime problem
From: Jacco Schalkwijk (NOSPAMjaccos_at_eurostop.co.uk)
Date: 03/15/04
- Next message: Tibor Karaszi: "Re: finding date in data"
- Previous message: Steve Kass: "Re: DateTime problem"
- In reply to: Steve Kass: "Re: DateTime problem"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 15 Mar 2004 14:15:29 -0000
Steve,
I thought about that as well, but Hijri is a lunar calendar while the
Persian calendar is a solar calendar not unsimilar (but not too similar
either) to the Gregorian calendar.
-- Jacco Schalkwijk SQL Server MVP "Steve Kass" <skass@drew.edu> wrote in message news:uCK9sdpCEHA.1128@TK2MSFTNGP11.phx.gbl... > Blue Man, > > Does SQL Server support for the Hijiri (Kuwaiti algorithm) calendar > help? This can be used by specifying style 131 when converting datetime > to and from strings with CONVERT. Here's an example, though the > right-to-left issue with Arabic may cause display problems. > > select > convert(nvarchar(30), getdate(), 130), > convert(nvarchar(30), getdate(), 131), > convert(datetime, N'11 ???? 1425', 130) > > ------------------------------ ------------------------------ > ------------------------------------------------------ > 24 ???? 1425 9:08:25:757AM 24/01/1425 9:08:25:757AM 2004-03-02 > 00:00:00.000 > > SK > > Blue Man wrote: > > >Hello group > >the datetime that i use is Persian datetime and its year now is 1380 or > >something. format doesn't matter something like yyyy-mm-dd but the problem > >is Year when ever i try to add data i get "DateTime Field overflow". > >I checked and realized the date befor year 1800 returns that error. now what > >do you suggest me to do with this type of datetime? > >btw my column is smalldatetime, i also tried datetime but nothing changed. > > > > > > > > >
- Next message: Tibor Karaszi: "Re: finding date in data"
- Previous message: Steve Kass: "Re: DateTime problem"
- In reply to: Steve Kass: "Re: DateTime problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|