Jump to content
Kinetopedia

Variabila DateTime.Hour Property

Recommended Posts

Posted

Vreau o sa integrez DateTime.Hour Property  intr-un textbox dar cel mai important lucru e atunci cand cineva scrie un text intr-un box sa apara inainte DateTime.Hour Property si apoi textul ... 

 

Am gasit ceva  dar nu stiu cum sa il integrez in acel text box

Dim date1 As Date = #04/01/2008 6:53:00PM#
Console.WriteLine(date1.ToString("%h"))      ' Displays 6
Console.WriteLine(date1.ToString("h tt"))    ' Displays 6 PM

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...