Display Minutes in text box


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Display Minutes in text box

  1. #1
    Join Date
    Oct 2005
    Posts
    133

    Display Minutes in text box

    hiya everyone

    i have a problem with displaying the minutes of the time now in a text box

    text1 = format(now,"hh")
    text2 = format(now,"mm")
    text3 = format(now,"ss")

    the above code works for the hours and seconds but the minutes dont work however cause the "mm" also means month , is there a way i can get around this . since i really need them in seperate text boxes

    please help

    thanks in advance

    Rob

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. MS Access Report w/ dynamic size Rich Text Box
    By petegis in forum VB Classic
    Replies: 3
    Last Post: 09-04-2006, 05:03 PM
  2. Building a Rich Text Box Component using ASP.NET
    By Nitin Mistry in forum ASP.NET
    Replies: 3
    Last Post: 07-04-2003, 02:56 PM
  3. sequence of text box validation
    By Liglin in forum Web
    Replies: 1
    Last Post: 01-10-2003, 03:54 PM
  4. Vertical Text in Text box
    By Javaid Ahmad in forum VB Classic
    Replies: 2
    Last Post: 08-30-2000, 08:02 PM
  5. Replies: 1
    Last Post: 05-03-2000, 04:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center