Using DateTime

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marco Shaw

    Using DateTime

    Does DateTime have a built-in feature to just give me "Dec" or similar for
    "December"?

    Marco


  • Andrew Morton

    #2
    Re: Using DateTime

    Marco Shaw wrote:
    Does DateTime have a built-in feature to just give me "Dec" or
    similar for "December"?
    Do you mean you want the first three characters of a string, or something
    more like
    DateTime.Today. ToString("MMM") ?

    Andrew


    Comment

    • Marco Shaw

      #3
      Re: Using DateTime

      Do you mean you want the first three characters of a string, or something
      more like
      DateTime.Today. ToString("MMM") ?
      Perfect!

      (DOTNET novice!)


      Comment

      Working...