Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

What is Binary Date?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Habeeb Shaik

New User


Joined: 29 Aug 2005
Posts: 10

PostPosted: Wed Dec 24, 2008 4:44 pm    Post subject: What is Binary Date?
Reply with quote

Hi,

Does any body know what is binary date and how it is calculated.
Will it be of length S9(4) COMP.

Please reply if you have any idea.

Thanks,
Habib.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Wed Dec 24, 2008 5:17 pm    Post subject: Reply to: What is Binary Date?
Reply with quote

take a look at the integer-of-date function
Back to top
View user's profile Send private message
Habeeb Shaik

New User


Joined: 29 Aug 2005
Posts: 10

PostPosted: Wed Dec 24, 2008 6:19 pm    Post subject:
Reply with quote

Thanks enrico..

I got how binary-date is calculated by looking at interger-of-date function.

This Integer format/Binary date is the number of days since some predetermined, fixed date like 1/1/0001.

bye,
habeeb.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Dec 25, 2008 2:44 am    Post subject: Re: What is Binary Date
Reply with quote

A binary date can also be interpreted as Lilian Days.

Note that the resulting number of Lilian Days when using the COBOL FUNCTION, is based upon a starting date of 1601/01/01 (day one), whereas when using the LE Callable Services such as CEEDAYS, the resulting number of days is based upon a starting date of 1584/10/15 (day one).

You can override the FUNCTION starting date via a compile option, but that's not recommended.

HTH....

Regards,

Bill
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm
No new posts Overlay the system date Danielle.Filteau SYNCSORT 4 Fri Mar 03, 2017 1:16 am
No new posts Checking Current date vickey_dw DFSORT/ICETOOL 1 Wed Feb 08, 2017 11:14 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us