Results 1 to 5 of 5

Thread: Week Number in Date field / Date Packer

  1. #1
    Ext User speedytangent's Avatar
    Join Date
    Feb 2008
    Location
    Sialkot,Pakistan
    Posts
    51
    Vote Rating
    0
      0  

    Question Week Number in Date field / Date Packer

    Hi All..

    Can somebody help me , how to show up , week numbers in Datefiled or Date picker.
    Atta ur Rahman

  2. #2
    Ext User speedytangent's Avatar
    Join Date
    Feb 2008
    Location
    Sialkot,Pakistan
    Posts
    51
    Vote Rating
    0
      0  

    Question

    I mean to say , i wana know that which week of the year it is , in tha Date picker ,
    is that possible ?
    Atta ur Rahman

  3. #3
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    118
      0  

    Default

    You can get the week number by using myDate.getWeekOfYear().

    To show the week number in a DatePicker you would have to modify the onRender method.

  4. #4
    Ext User speedytangent's Avatar
    Join Date
    Feb 2008
    Location
    Sialkot,Pakistan
    Posts
    51
    Vote Rating
    0
      0  

    Question

    Kindly explain some More .....

    and i actually want to show weeks in DateFiled`s date selector,

    explaining more , Actually i rendered a Form with Datefiled in a panels tbar , Can i use date picker instead of dateField form ...?
    Atta ur Rahman

  5. #5
    Ext User
    Join Date
    Jul 2008
    Posts
    10
    Vote Rating
    0
      0  

    Default

    Hi,
    you can set format preperty in the configuration ,like format:'w'

Posting Permissions

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