Date Format in visual basic

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • godhulirbalaka
    New Member
    • Oct 2007
    • 26

    Date Format in visual basic

    Hai, I set date and time picker

    dtp_FromDate.va lue=Format(Now, "dd/mm/yyyy")

    but still in run mode it is showing 10/30/2007.

    I want to see it 30/10/2007 at the run time in dtpicker. How can i set it
    Please help me....
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Just set the format you want in th custom format property of the control and then set

    dtp_FromDate.va lue=Now()

    Comment

    • QVeen72
      Recognized Expert Top Contributor
      • Oct 2006
      • 1445

      #3
      Hi,

      Change the Property setting of the Date :
      DataFormat >> Select Date and the required format from the available List..

      Regards
      Veena

      Comment

      Working...