Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DateFormat help
#7
Solved: 10 Years, 9 Months, 2 Weeks ago
Vins and chalam

Sorry guys..just b4 i saw ur replies...i also got solution as below..thanks a lot

Code:
currDate = FormatDateTime(Date, 2)
year1 = right(currDate, 4)
month1 = mid(currDate, 4, 2)
day1 = left(currDate, 2)
newdateformat =year1& "-" &month1& "-" &day1
PRINT newdateformat
Reply


Messages In This Thread
DateFormat help - by AutomationTester2011 - 05-31-2011, 12:54 PM
RE: DateFormat help - by manabh - 05-31-2011, 12:55 PM
RE: DateFormat help - by AutomationTester2011 - 05-31-2011, 01:03 PM
RE: DateFormat help - by vIns - 05-31-2011, 01:25 PM
RE: DateFormat help - by sreekanth chilam - 05-31-2011, 01:25 PM
RE: DateFormat help - by vIns - 05-31-2011, 01:26 PM
RE: DateFormat help - by AutomationTester2011 - 05-31-2011, 03:51 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)