Results 1 to 3 of 3

Thread: [resolved] format in VB... what is it in C#?

  1. #1

    Thread Starter
    Lively Member ayan's Avatar
    Join Date
    Jan 2004
    Posts
    112

    [resolved] format in VB... what is it in C#?

    hello,

    can't figure out what is it in C#... something like this...
    VB Code:
    1. Dim s As String = Format(Date.Now, "yyMM")

    thanks guys...
    Last edited by ayan; Feb 26th, 2004 at 09:19 PM.


    Keep fit with wossy
    "Finaly I can look as gay as I want..." - NoteMe

  2. #2
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Reading, UK
    Posts
    870
    Code:
    s = DateTime.Now.ToString("yyMM")
    Nick
    www.vb-tech.com
    .Net Freelance Development
    http://weblog.vb-tech.com/nick
    My blog

  3. #3

    Thread Starter
    Lively Member ayan's Avatar
    Join Date
    Jan 2004
    Posts
    112
    got to vote for for that...

    thanx Nick...


    Keep fit with wossy
    "Finaly I can look as gay as I want..." - NoteMe

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width