For Immediate Onsite or Remote Support Call: (770) 744-4937

Date Function VB.NET

Date: January 10, 2013 Author: Arun Patel Category: VB.NET Visual Basic Comments: 0

Dim dtDate_today As String = Format(Today, "dd-MMM-yy")
'Subtract Date
Dim dtDate_today As String = Format(Today.AddDays(-21), "dd-MMM-yy")

sDate = Format(dtStartDate1.Value, "MM/dd/yy")
eDate = Format(dtEndDate1.Value, "MM/dd/yy")