VB School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a VB Expert!

Join 300,378 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,524 people online right now. Registration is fast and FREE... Join Now!




Inserting a colon between two numbers

 

Inserting a colon between two numbers

Bilncode

22 Mar, 2009 - 12:40 AM
Post #1

New D.I.C Head
*

Joined: 18 Mar, 2009
Posts: 1

Hi experts,i know this is probably very easy but i just don't know how to get it to work.What i need is to insert a colon between two numbers, say 13 and 56 so that i get something like 13:56.I'll then use a timer to compare with with my system time formated to this form.Thanks.

User is offlineProfile CardPM
+Quote Post


Nikhil_07n

RE: Inserting A Colon Between Two Numbers

22 Mar, 2009 - 10:05 AM
Post #2

Idiot of the year.
Group Icon

Joined: 9 Jan, 2009
Posts: 2,073



Thanked: 15 times
Dream Kudos: 1200
My Contributions
CODE

strTime= "13" & ":" & "56"
'where strTime is the variable storing the time to be compared


Say thanks! tongue.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/7/09 09:21PM

Live VB Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month