Results 1 to 2 of 2

Thread: text boxes, specifying formats for Date and DateTime values

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2000
    Location
    Philippines
    Posts
    49

    Question

    how can i format my text box to mm/dd/yyyy??
    strict format please. thanks

  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    You can't format the textbox only the output.
    you could have the user enter 10112000 and then format it before you display or save it.
    Format(Text1.text,"mm/dd/yyyy")

    To only allow users to enter information in certain ways
    you could use the MaskeditBox. Add one to your project and press F1 to get more information on MaskEditBox.

    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width