E1 Tips The Tips & Tricks of a CNC Administrator on Oracle JDEdwards EnterpriseOne

How To Get A Date… Out Of E1 Part 2

Don’t worry, this still is not a dating service!

My last post dealt with dates in E1. Well, there is another way that dates are stored…

The number of seconds since January 1, 1970.

This isn’t too uncommon in programming languages such as C++, but it sure is a pain in the rear-end when looking in a database.

I have included a conversion tool on my E1 Dates page.

***NOTE: the dates calculation page has been updated***

Updated:

Here is a very simple way to convert the date using SQL:

date(char(DATEFIELD+1900000))

Example:

select date(char(SCSECLST+1900000)) from sy811/f98owsec

pf button How To Get A Date... Out Of E1 Part 2
evernote How To Get A Date... Out Of E1 Part 2digg How To Get A Date... Out Of E1 Part 2share save 171 16 How To Get A Date... Out Of E1 Part 2

Leave a Reply