DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  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, 04: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, 01:56 PM
  3. sequence of text box validation
    By Liglin in forum Web
    Replies: 1
    Last Post: 01-10-2003, 02:54 PM
  4. Vertical Text in Text box
    By Javaid Ahmad in forum VB Classic
    Replies: 2
    Last Post: 08-30-2000, 07:02 PM
  5. Replies: 1
    Last Post: 05-03-2000, 03:38 AM

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links