Results 1 to 4 of 4

Thread: Date & Tab

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2005
    Posts
    1

    Date & Tab

    Hi
    I'm formatting a date and I want to append a tab to the end of the string.
    Can anyone help me with this?

    today.ToString("yyyy mm dd hh:mm:ss") and the tab

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Date & Tab

    & Convert.ToChar(Keys.Tab)

    OR

    & ControlChars.Tab
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3
    Fanatic Member
    Join Date
    Jan 2005
    Location
    Cebu
    Posts
    607

    Re: Date & Tab

    Or + "\t"?

    Edit: JM,
    Last edited by nebulom; Nov 28th, 2005 at 08:09 PM.

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Date & Tab

    Ah, forgot I wasn't in VB.NET land again.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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