by Saw'd Off ()
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (4 Votes)
Subtracts a day from a date provided by the
user. Code can be edited to add a day(s) or
subtract more than one day. Code can also be
changed to include Year, Quarter, Month, Day of
year, Day, WeekDay, Week, Hour, Minute, or
Second.
Inputs
Input a date with a 2 digit month, 2 digit day,
and a 4 digit year. (Note: I formated the text
box to automatically enter the "/" marks as you
type the date)
Code Returns
As presented, this code will subtract one day
from the date. Example: Enter 03/31/2001 and
you will get 03/30/2001.
Side Effects
None Known.
Upload