-
Forum
-
T24 Technical Discussions
-
T24 Development & Customization
-
CALL EB.CHECK.DATE(XXX)
CALL EB.CHECK.DATE(XXX)
-
malai
-
Topic Author
-
Offline
-
Platinum Member
-
Less
More
-
Posts: 508
-
Thank you received: 11
-
-
-
18 years 8 months ago #859
by malai
Hi,
Have any one come accross this routine 'EB.CHECK.DATE(XXX)'?
What this actually used for?
_________________
M A L A I
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 23
-
Thank you received: 0
-
-
18 years 8 months ago #860
by vkarthik
This routine is used to find out the year if only the two digits are passed as arguments. This is used for archiving purpose. This will work only for the 20 years basis. Meaning from today to 20 years if you pass any two digit the it will give you the correct year. if you pass any digit early then it will consider as later.
For E.g
TODAY = 2005
INCOMING = 95
OUTGOING WILL BE 1995
INCOMING = 84
OUTGOING WILL BE 2084
Please Log in or Create an account to join the conversation.
-
malai
-
Topic Author
-
Offline
-
Platinum Member
-
Less
More
-
Posts: 508
-
Thank you received: 11
-
-
-
18 years 8 months ago #861
by malai
Thanks Karthik
Here are some more info.
This routine was developed to solve Y2K program.
For Example
T.VAR = '051114'
CALL EB.CHECK.DATE(T.VAR) will give you 20051114
T.VAR = '951114'
CALL EB.CHECK.DATE(T.VAR) will give your 19951114
The displacement value used here is 20 years.
_________________
M A L A I
Please Log in or Create an account to join the conversation.
-
Forum
-
T24 Technical Discussions
-
T24 Development & Customization
-
CALL EB.CHECK.DATE(XXX)
Time to create page: 0.070 seconds