PC Review


Reply
Thread Tools Rate Thread

Date validation / verification

 
 
=?Utf-8?B?RFN1c3M=?=
Guest
Posts: n/a
 
      7th Apr 2005
I 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,
 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      8th Apr 2005
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




 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro for Address verification/validation Jeffery B Paarsa Microsoft Excel Misc 1 29th Jul 2009 08:06 AM
Subject: Macro for Address verification/validation Jeffery B Paarsa Microsoft Excel Programming 1 29th Jul 2009 06:27 AM
Address validation and verification Fur Data Microsoft Word Document Management 0 14th Dec 2006 08:45 AM
Date verification =?Utf-8?B?T2xkamF5?= Microsoft Excel Misc 4 24th Oct 2006 03:52 AM
C# Word Document Verification/Validation... HOWTO? =?Utf-8?B?TXIuIEJlY2s=?= Microsoft C# .NET 0 18th Apr 2006 09:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:48 AM.