Date validatation in normal textbox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ramesh_tankala
    New Member
    • Jul 2006
    • 10

    #1

    Date validatation in normal textbox

    Hi............
    How Date Handle In Normal Textbox....
    Plz Help Me
  • xpcer
    New Member
    • Jul 2006
    • 51

    #2
    can u tell me what probelm you help?

    Comment

    • sashi
      Recognized Expert Top Contributor
      • Jun 2006
      • 1749

      #3
      Hi Ramesh,

      any text in a textbox is treated as string/text.. but how you format the contents is important.. i.e. if you want to save the date in a database and rettrieve later as date, you have to make sure the field is a datetime datatype field.. see below example..
      pls check out the below link for a clear picture.. god luck my fren.. :)

      Code:
      Format(Date(), "dd/mm/yyyy")

      Comment

      Working...