I have a customer who is asking if we can create a module to have a caller enter a date (ie: MMDDYYYY). I need to check this entry against only one variable. Basically, if the date entered is greater than 01312017 or not and route the call. That's it.
I am sure I would need some logic entries to insure the caller doesn't enter in 99999999
For example check to see:
if MM is not less than 00, or greater than 12
if DD is not less than 00, or greater than 31
if YYYY is not less than 1970, or greater than current year
I have thought about this and am curious to see if: 12312016 is greater than 01312016 or not.
The customer is on IP Office 500 V2 with VM Pro 8.1 on a Windows Server 2003. VB Scripting and 3rd arty Database are both disabled.
Thoughts??
Appreciate your input..
--DB
I am sure I would need some logic entries to insure the caller doesn't enter in 99999999
For example check to see:
if MM is not less than 00, or greater than 12
if DD is not less than 00, or greater than 31
if YYYY is not less than 1970, or greater than current year
I have thought about this and am curious to see if: 12312016 is greater than 01312016 or not.
The customer is on IP Office 500 V2 with VM Pro 8.1 on a Windows Server 2003. VB Scripting and 3rd arty Database are both disabled.
Thoughts??
Appreciate your input..
--DB