|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Date validation / verificationI am trying to create an input box in vb.net that will verify if an
expiration date on a credit card is valid or not. Can anyone help me convert a string of MM/YY to a month and year format and verify against NOW( )? Or does anyone have another suggestion how to accomplish this? Thanks, DSuss,
Dim MM As String = Now.Month.ToString Dim YY As String = Now.Year.ToString When you want to positions year than Dim YY As String = Now.Year.ToString.Substring(2) I assume that the rest is a peanut. I hope this helps, Cor |
|||||||||||||||||||||||