Wednesday, June 23, 2010

Convert Getdate() to julian date for JD Edwards


select  (datepart(yy,getdate()) - 1900) * 1000+ cast(datepart(dy,getdate()) as int)

No comments: