Results 1 to 2 of 2

Thread: DatePicker Value

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2006
    Posts
    81

    Resolved DatePicker Value

    Good day to all!

    Just a question about datepicker. I have a datepicker DateFrom and DateTo, I want to output into a textfile the value (e.g. 20063107 to 20060208) of DateFrom and DateTo which the user click/chose. Someone please help. Thanks.

    Resolved
    Last edited by ayionick; Nov 6th, 2006 at 05:57 AM.

  2. #2
    Frenzied Member cssriraman's Avatar
    Join Date
    Jun 2005
    Posts
    1,465

    Re: DatePicker Value

    You need to use format function:
    VB Code:
    1. 'Example:
    2. Debug.print Format$(now,"YYYYddmm")
    3. Debug.Print Format$(DTPicker1.Value, "YYYYDDMM")
    CS

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