skip to main | skip to sidebar

Ted's Hello World

Tuesday, May 19, 2009

Replace Format(Now, "yyyymmdd") with Date.Now.ToString("yyyymmdd") in VB.NET 2005

Previously in VB6 we were doing
Format(Now, "yyyymmdd")
in .NET do the following Date.Now.ToString("yyyymmdd")
Posted by Ted Unnikumaran at 7:26 AM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2011 (1)
    • ►  January (1)
  • ►  2010 (42)
    • ►  November (4)
    • ►  October (1)
    • ►  June (10)
    • ►  May (2)
    • ►  April (5)
    • ►  March (14)
    • ►  February (5)
    • ►  January (1)
  • ▼  2009 (56)
    • ►  December (1)
    • ►  November (4)
    • ►  September (1)
    • ►  August (4)
    • ►  July (2)
    • ►  June (9)
    • ▼  May (7)
      • Using the Visual Studio Editor Regular Expression ...
      • How do I configure the Visual Studio debugger to b...
      • vb6.GetPath replacements
      • Vb6.FixedLengthString(2048) to Space(2048)
      • VB6.Format(tempstr, "mmm dd, yyyy") to CType(temps...
      • Replace Format(Now, "yyyymmdd") with Date.Now.ToSt...
      • Replacement for VB6.Format(Number, "00") in VB 2005
    • ►  April (5)
    • ►  March (7)
    • ►  February (11)
    • ►  January (5)
  • ►  2008 (51)
    • ►  December (7)
    • ►  November (6)
    • ►  October (4)
    • ►  September (4)
    • ►  July (5)
    • ►  June (5)
    • ►  May (5)
    • ►  April (1)
    • ►  March (4)
    • ►  February (8)
    • ►  January (2)
  • ►  2007 (16)
    • ►  December (10)
    • ►  November (6)

About Me

Ted Unnikumaran
View my complete profile