Javascript Date & Time Picker

Hi,
I would like to create an event on a text field, when you click on it it's calling a javascript function to popup a date & time picker.
Is anyone can help me ?
Eric . Thanks

Eric,
I don't think this is such a good idea. However, you can do that by using the javascript
ApEx is using:
<script type="text/javascript">
function f_popup_date(p_this)
   var value_exists = $x(p_this).value
   var item_name = $x(p_this).name
   var app_id = &APP_ID.
   var sec_gr_id = $x('P_SECURITY_GROUP_ID').value
   if (value_exists <= '')
       w = open("wwv_flow_utilities.show_as_popup_calendar" +
                   "?p_element_index=" + escape(item_name) +
                   "&p_form_index=" + escape('0') +
                   "&p_date_format=" + escape('DD-MON-RR') +
                   "&p_bgcolor=" + escape('#666666') +
                   "&p_dd=" + escape('') +
                   "&p_hh=" + escape('') +
                   "&p_mi=" + escape('') +
                   "&p_pm=" +
                   "&p_yyyy=" + escape('2008') +
                   "&p_lang=" + escape('en') +
                   "&p_application_format=" + escape('N') +
                   "&p_application_id=" + escape(app_id) +
                   "&p_security_group_id=" + escape(sec_gr_id) +
                   "&p_mm=" + escape('01'),
                   "winLov",
                   "Scrollbars=no,resizable=yes,width=258,height=210");
       if (w.opener == null)
         w.opener = self;
       w.focus();
</script>Create a hidden item on your page
P_SECURITY_GROUP_ID
with a source pl/sql expression or function
htmldb_custom_auth.get_security_group_id
In your item HTML Form Element Attributes put the following
onclick="javascript:f_popup_date(this);"
and it should work like in my example here:
http://htmldb.oracle.com/pls/otn/f?p=31517:68
You will also need to take care of the other variables
like the current year, language and the date format.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/apex/f?p=107:7
http://htmldb.oracle.com/pls/otn/f?p=31517:1
-------------------------------------------------------------------

Similar Messages

  • Date time picker script does not look right when calender pops up

    When I use this script in my header, my date time picker does not look right.  The pop up calender works but the layout is off,  here is the code I am adding to my header:
    <link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-combined.min.css" rel="stylesheet">
        <link rel="style.css" type="text/css" media="screen"
         href="http://tarruda.github.com/bootstrap-datetimepicker/assets/css/bootstrap-datetimepicker.min .css">
    And here is the code I am adding to the body of the html page below: Is it the placement of the code in the header? I've tried the beginning and the end of the hearder but no difference.  Thanks for your time on this....
    <div id="datetimepicker" class="input-append date">
    <input type="text"></input>
    <span class="add-on">
    <i data-time-icon="icon-time" data-date-icon="icon-calendar"></i>
    </span>
    </div>
    <script type="text/javascript"
    src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.min.js">
    </script>
    <script type="text/javascript"
    src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/js/bootstrap.min.js">
    </script>
    <script type="text/javascript"
    src="http://tarruda.github.com/bootstrap-datetimepicker/assets/js/bootstrap-datetimepicker.min. js">
    </script>
    <script type="text/javascript"
    src="http://tarruda.github.com/bootstrap-datetimepicker/assets/js/bootstrap-datetimepicker.pt-B R.js">
    </script>
    <script type="text/javascript">
    $('#datetimepicker').datetimepicker({
    format: 'MM/dd/yyyy hh:mm:ss',
    language: 'en'
    </script>

    Page is not up yet, can I attach the html to this forum?  I'l cut and paste the html below, thanks
    <!DOCTYPE html>
    <!-- Consider specifying the language of your content by adding the `lang` attribute to <html> -->
    <!--[if lt IE 7]> <html class="no-js ie6"> <![endif]-->
    <!--[if IE 7]>    <html class="no-js ie7"> <![endif]-->
    <!--[if IE 8]>    <html class="no-js ie8"> <![endif]-->
    <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
    <head>
    <!-- this is the header code for the date/time picker-->
      <link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-combined.min.css" rel="stylesheet">
        <link rel="style.css" type="text/css" media="screen"
         href="http://tarruda.github.com/bootstrap-datetimepicker/assets/css/bootstrap-datetimepicker.min .css">
          <!-- to here-->
        <meta charset="utf-8">
        <!-- Always force latest IE rendering engine & Chrome Frame -->
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <!-- Put your title here! -->
        <title>Hawaii Beach Weddings</title>
        <meta name="description" content="">
         <!-- Mobile viewport optimized: j.mp/bplateviewport -->
        <meta name="viewport" content="width=device-width">
        <link href="style.css" rel="stylesheet">
        <!-- Load Open Sans and Merriweather from Google Fonts
            For optimal performance, customize it to load the styles you need:
            http://goo.gl/QufgJ
        -->
        <link href="//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700|Merriweathe r:400,700,900" rel="stylesheet">
        <!-- All JavaScript at the bottom, except for Modernizr
            Modernizr enables HTML5 elements & feature detects; It includes Respond, a polyfill for min/max-width CSS3 Media Queries
            For optimal performance, use a custom Modernizr build: www.modernizr.com/download/ -->
            <script src="js/modernizr-2.6.1.min.js"></script>
        <script src="js/modernizr-2.6.1.min.js"></script>
    </head>
    <body>
        <!-- Prompt IE 6 and 7 users to install Chrome Frame:        chromium.org/developers/how-tos/chrome-frame-getting-started -->
        <!--[if lt IE 8]>
            <p class="chromeframe alert alert-warning">Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p>
        <![endif]-->
        <header id="master-header" class="clearfix" role="banner">
            <hgroup>
                <h1 id="site-title"><a href="index.html" title="Your Site Name">Hawaii Beach Weddings</a></h1>
                <h1 id="site-title2"><a href="index.html" title="Your Site Name">xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</a></h1>
                <h2 id="site-description">Where the Sun, Sand and Love come together...</h2>
            </hgroup>
        </header> <!-- #master-header -->
    <div id="main" class="row">
        <!-- Main navigation -->
        <nav class="main-navigation span12 clearfix" role="navigation">
            <h3 class="assistive-text">Main menu</h3>
            <ul>
                <li><a href="index.html">Home</a></li>
                <li class="current">
                    <a href="about.html">About</a>
                    <ul class="sub-menu">
                        <li><a href="http://www.google.com">Subpage 1</a></li>
                        <li><a href="#">Subpage 2</a></li>
                    </ul>
                </li>
                <li><a href="contact.html">FAQ's</a></li>
            </ul>
        </nav> <!-- #main-navigation -->
    <div id="content" role="main" class="span12">
        <article class="page hentry">
            <header class="entry-header">
                <h1 class="entry-title">Simple Beach Weddings</h1>
            </header> <!-- .entry-header -->
            <div class="entry-content">
                <p>We specialize in simplicity for your beach wedding.  Let us keep it simple by offering what you need to make your beach wedding easy </p>
                <!-- Typography
                ================================================== -->
                <section id="typography">
                    <h1>I am first a photographer who loves to<small></small>capture &quot;the moment.&quot;</h1>
                    <p>By organizing Hawaii Beach Weddings, I have allowed myself to do what I do best: capture your moment. I use industry professionals to make a sometimes stressful event easy. By keeping it to a few simple choices: A Minister (necessary), Flowers, Music, Video, Chairs (optional), I have allowed you to quickly design your wedding event and enjoy your stay in the islands. </p>
                        <div class="row">
                            <div class="span7">
                                <h2>Ministers:</h2>
                                <h3>Reverand Robert Hoyt</h3>
                                                <p> </p>
                            </div>
                    </div>
                      <h2> </h2>
                        <div class="row"></div>
                        <div class="row">
                  </div>
                    <h2> </h2>
                </section>
                <section id="tables">
                  <div class="row">
                  </div> <!-- .row -->
                </section> <!-- #tables -->
                <!-- Forms
                ================================================== -->
                <section id="forms">
                    <h1>Let's begin with your contact information.</h1>
                    <form class="row">
                        <fieldset class="span5">
                          <p>
                            <label>Name
                              <input type="text" required></label></p>
                              <br>
                              <p><label>Phone number with area code <input type="text" pattern="\d{5}(-\d{4})?" title="a US Zip code, with or without the +4 exension" placeholder=" 123-456-7891"></label></p>
                              <br>
                              <p>
                              <label>Email
                              <input type="email"></label></p>
                              <br>
                              <h1>Where would you like your wedding to be?</h1>
                 <p><label>Honolulu (South Oahu)<input type="radio" name="rad"></label></p>
                 <p><label>Waimanalu (East Oahu) <input type="radio" name="rad"></label></p>
                    <br>     
                    <h1>What date & time would you like to have your wedding?</h1>
                     <!--This is the date/time picker-->
                          <div id="datetimepicker" class="input-append date">
          <input type="text"></input>
          <span class="add-on">
            <i data-time-icon="icon-time" data-date-icon="icon-calendar"></i>
          </span>
        </div>
        <script type="text/javascript"
         src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.min.js">
        </script>
        <script type="text/javascript"
         src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/js/bootstrap.min.js">
        </script>
        <script type="text/javascript"
         src="http://tarruda.github.com/bootstrap-datetimepicker/assets/js/bootstrap-datetimepicker.min. js">
        </script>
        <script type="text/javascript"
         src="http://tarruda.github.com/bootstrap-datetimepicker/assets/js/bootstrap-datetimepicker.pt-B R.js">
        </script>
        <script type="text/javascript">
          $('#datetimepicker').datetimepicker({
            format: 'MM/dd/yyyy hh:mm:ss',
            language: 'en'
        </script>
        <br>
                         <h1>What type of flowers would you like to have?</h1>
                         <p>
                                <label>Bouquet<br>
                                    <select>
                                        <option>None</option>
                                        <option>Red roses</option>
                                        <option>White roses</option>
                                        <option>Hibiscus</option>
                                    </select>
                                </label>
                            <p>
                                <label>Flowers<br>
                                    <select>
                                        <option>None</option>
                                        <option>Roses</option>
                                        <option>Orchids</option>
                                        <option>Hibiscus</option>
                                    </select>
                                </label>
                                  <h1>What type of Leis would you like to have?</h1>
                                <label>Leis<br>
                                    <select>
                                        <option>None</option>
                                        <option>Kukui nut (male)</option>
                                        <option>Orchids (inexpensive)</option>
                                        <option>Stephanotus (sweet smelling</option>
                                    </select>
                                </label>
    </fieldset>
    <fieldset class="span4">
                          <p>
                           <!--this is the chair number selector-->
                            <p>
                               <label>Music<br>
                                    <select>
                                        <option>None</option>
                                        <option>solo singer with ukulele</option>
                                        <option>solo singer with guitar</option>
                                        <option>solo guitar instrumental</option>
                                        <option>small ensemble</option>
                                    </select>
                                </label>
                              <br>
                              <label for="s">Number of Chairs</label><p>
                                <select id="s">
                                    <option>none</option>
                                    <option>1</option>
                                    <option>2</option>
                                    <option>3</option>
                                    <option>4</option>
                                    <option>5</option>
                                    <option>6</option>
                                    <option>7</option>
                                    <option>8</option>
                                </select>
                            </p>
                            <p>
                              <label for="t">Notes</label> <textarea id="t" cols="30" rows="5">Textarea text</textarea></p>
                        </fieldset>
                <!-- Miscellaneous
                ================================================== --><!-- #miscellaneous -->
            </div> <!-- .entry-content -->
        </article> <!-- .post.hentry -->
    </div> <!-- #content -->
    </div> <!-- #main -->
        <footer id="footer" role="contentinfo">
            <!-- You're free to remove the credit link to Jayj.dk in the footer, but please, please leave it there -->
        </footer> <!-- #footer -->
        <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline -->
        <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
        <script>window.jQuery || document.write('<script src="js/jquery-1.7.2.min.js"><\/script>')</script>
        <!-- Load custom scripts -->
        <script src="js/script.js"></script>
    </body>
    </html>

  • Date/Time Picker Output Help

    In my Flex 3.6 app, I have a set of controls that allow the user to pick the date/time.  The user does this by selecting a date from a DateInput, an hour, minutes and AM/PM through three ComboBox.  I then combine the selections into a string and output in a Label control.
    I now need to compare the date/time selected to a set of date/times that are allowed.  I keep running into the error "1067: Implicit coercion of a value of type String to an unrelated type Date."
    How can I convert my date/time string into a valid date object so I can compare it with other date objects?
    Thanks!
    Lee
    Below is the code:
    DateTimePicker.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                                            layout="absolute"
                                            minWidth="955"
                                            minHeight="600">
              <mx:Script>
                        <![CDATA[
                                  [Bindable]
                                  private var todayDate:Date=new Date();
                                  [Bindable]
                                  private var earliestTime:Date=new Date(todayDate.getTime() + 3 * 60 * 60 * 1000);
                                  [Bindable]
                                  private var latestTime:Date=new Date(todayDate.getTime() + 12 * 60 * 60 * 1000);
                        ]]>
              </mx:Script>
              <!--Data-->
              <mx:XML id="hoursXML"
                                  source="assets/hours.xml"/>
              <mx:XMLListCollection source="{hoursXML.hour}"
                                                                  id="xmllcHours"/>
              <mx:XML id="minutesXML"
                                  source="assets/minutes.xml"/>
              <mx:XMLListCollection source="{minutesXML.minute}"
                                                                  id="xmllcMinutes"/>
              <mx:DateFormatter id="dfd"
                                                        formatString="MM/DD/YYYY"/>
              <mx:Label x="10"
                                    y="10"
                                    text="Date/Time"/>
              <mx:DateField x="82"
                                              y="10"
                                              id="dfExpectedDate"
                                              text="{dfd.format(todayDate)}"
                                              selectableRange="{{rangeStart: this.earliestTime,rangeEnd: this.latestTime}}"
                                              visible="true"
                                              width="100"/>
              <mx:ComboBox x="200"
                                             y="10"
                                             id="cbExpectedHour"
                                             fontWeight="normal"
                                             width="80"
                                             text="Hour"
                                             selectedIndex="-1"
                                             dataProvider="{xmllcHours}">
              </mx:ComboBox>
              <mx:ComboBox x="300"
                                             y="10"
                                             width="80"
                                             id="cbExpectedMinute"
                                             fontWeight="normal"
                                             selectedIndex="-1"
                                             text="Minute"
                                             dataProvider="{xmllcMinutes}">
              </mx:ComboBox>
              <mx:ComboBox x="400"
                                             y="10"
                                             width="80"
                                             id="cbExpectedTimeRange"
                                             fontWeight="normal"
                                             selectedIndex="-1"
                                             text="AM/PM">
                        <mx:ArrayCollection>
                                  <mx:Object label="a.m."
                                                         data="AM"/>
                                  <mx:Object label="p.m."
                                                         data="PM"/>
                        </mx:ArrayCollection>
              </mx:ComboBox>
              <mx:Text x="10"
                                   y="38"
                                   text="{this.dfExpectedDate.text} {this.cbExpectedHour.text}:{this.cbExpectedMinute.text}:00 {this.cbExpectedTimeRange.selectedItem.data}"
                                   id="tExpectedLandingDateTime"
                                   visible="true"/>
    </mx:Application>
    hours.xml
    <?xml version="1.0" encoding="utf-8"?>
    <hours>
              <hour>12</hour>
              <hour>01</hour>
              <hour>02</hour>
              <hour>03</hour>
              <hour>04</hour>
              <hour>05</hour>
              <hour>06</hour>
              <hour>07</hour>
              <hour>08</hour>
              <hour>09</hour>
              <hour>10</hour>
              <hour>11</hour>
    </hours>
    minutes.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <minutes>
              <minute>00</minute>
              <minute>01</minute>
              <minute>02</minute>
              <minute>03</minute>
              <minute>04</minute>
              <minute>05</minute>
              <minute>06</minute>
              <minute>07</minute>
              <minute>08</minute>
              <minute>09</minute>
              <minute>10</minute>
              <minute>11</minute>
              <minute>12</minute>
              <minute>13</minute>
              <minute>14</minute>
              <minute>15</minute>
              <minute>16</minute>
              <minute>17</minute>
              <minute>18</minute>
              <minute>19</minute>
              <minute>20</minute>
              <minute>21</minute>
              <minute>22</minute>
              <minute>23</minute>
              <minute>24</minute>
              <minute>25</minute>
              <minute>26</minute>
              <minute>27</minute>
              <minute>28</minute>
              <minute>29</minute>
              <minute>30</minute>
              <minute>31</minute>
              <minute>32</minute>
              <minute>33</minute>
              <minute>34</minute>
              <minute>35</minute>
              <minute>36</minute>
              <minute>37</minute>
              <minute>38</minute>
              <minute>39</minute>
              <minute>40</minute>
              <minute>41</minute>
              <minute>42</minute>
              <minute>43</minute>
              <minute>44</minute>
              <minute>45</minute>
              <minute>46</minute>
              <minute>47</minute>
              <minute>48</minute>
              <minute>49</minute>
              <minute>50</minute>
              <minute>51</minute>
              <minute>52</minute>
              <minute>53</minute>
              <minute>54</minute>
              <minute>55</minute>
              <minute>56</minute>
              <minute>57</minute>
              <minute>58</minute>
              <minute>59</minute>
    </minutes>

    In my Flex 3.6 app, I have a set of controls that allow the user to pick the date/time.  The user does this by selecting a date from a DateInput, an hour, minutes and AM/PM through three ComboBox.  I then combine the selections into a string and output in a Label control.
    I now need to compare the date/time selected to a set of date/times that are allowed.  I keep running into the error "1067: Implicit coercion of a value of type String to an unrelated type Date."
    How can I convert my date/time string into a valid date object so I can compare it with other date objects?
    Thanks!
    Lee
    Below is the code:
    DateTimePicker.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                                            layout="absolute"
                                            minWidth="955"
                                            minHeight="600">
              <mx:Script>
                        <![CDATA[
                                  [Bindable]
                                  private var todayDate:Date=new Date();
                                  [Bindable]
                                  private var earliestTime:Date=new Date(todayDate.getTime() + 3 * 60 * 60 * 1000);
                                  [Bindable]
                                  private var latestTime:Date=new Date(todayDate.getTime() + 12 * 60 * 60 * 1000);
                        ]]>
              </mx:Script>
              <!--Data-->
              <mx:XML id="hoursXML"
                                  source="assets/hours.xml"/>
              <mx:XMLListCollection source="{hoursXML.hour}"
                                                                  id="xmllcHours"/>
              <mx:XML id="minutesXML"
                                  source="assets/minutes.xml"/>
              <mx:XMLListCollection source="{minutesXML.minute}"
                                                                  id="xmllcMinutes"/>
              <mx:DateFormatter id="dfd"
                                                        formatString="MM/DD/YYYY"/>
              <mx:Label x="10"
                                    y="10"
                                    text="Date/Time"/>
              <mx:DateField x="82"
                                              y="10"
                                              id="dfExpectedDate"
                                              text="{dfd.format(todayDate)}"
                                              selectableRange="{{rangeStart: this.earliestTime,rangeEnd: this.latestTime}}"
                                              visible="true"
                                              width="100"/>
              <mx:ComboBox x="200"
                                             y="10"
                                             id="cbExpectedHour"
                                             fontWeight="normal"
                                             width="80"
                                             text="Hour"
                                             selectedIndex="-1"
                                             dataProvider="{xmllcHours}">
              </mx:ComboBox>
              <mx:ComboBox x="300"
                                             y="10"
                                             width="80"
                                             id="cbExpectedMinute"
                                             fontWeight="normal"
                                             selectedIndex="-1"
                                             text="Minute"
                                             dataProvider="{xmllcMinutes}">
              </mx:ComboBox>
              <mx:ComboBox x="400"
                                             y="10"
                                             width="80"
                                             id="cbExpectedTimeRange"
                                             fontWeight="normal"
                                             selectedIndex="-1"
                                             text="AM/PM">
                        <mx:ArrayCollection>
                                  <mx:Object label="a.m."
                                                         data="AM"/>
                                  <mx:Object label="p.m."
                                                         data="PM"/>
                        </mx:ArrayCollection>
              </mx:ComboBox>
              <mx:Text x="10"
                                   y="38"
                                   text="{this.dfExpectedDate.text} {this.cbExpectedHour.text}:{this.cbExpectedMinute.text}:00 {this.cbExpectedTimeRange.selectedItem.data}"
                                   id="tExpectedLandingDateTime"
                                   visible="true"/>
    </mx:Application>
    hours.xml
    <?xml version="1.0" encoding="utf-8"?>
    <hours>
              <hour>12</hour>
              <hour>01</hour>
              <hour>02</hour>
              <hour>03</hour>
              <hour>04</hour>
              <hour>05</hour>
              <hour>06</hour>
              <hour>07</hour>
              <hour>08</hour>
              <hour>09</hour>
              <hour>10</hour>
              <hour>11</hour>
    </hours>
    minutes.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <minutes>
              <minute>00</minute>
              <minute>01</minute>
              <minute>02</minute>
              <minute>03</minute>
              <minute>04</minute>
              <minute>05</minute>
              <minute>06</minute>
              <minute>07</minute>
              <minute>08</minute>
              <minute>09</minute>
              <minute>10</minute>
              <minute>11</minute>
              <minute>12</minute>
              <minute>13</minute>
              <minute>14</minute>
              <minute>15</minute>
              <minute>16</minute>
              <minute>17</minute>
              <minute>18</minute>
              <minute>19</minute>
              <minute>20</minute>
              <minute>21</minute>
              <minute>22</minute>
              <minute>23</minute>
              <minute>24</minute>
              <minute>25</minute>
              <minute>26</minute>
              <minute>27</minute>
              <minute>28</minute>
              <minute>29</minute>
              <minute>30</minute>
              <minute>31</minute>
              <minute>32</minute>
              <minute>33</minute>
              <minute>34</minute>
              <minute>35</minute>
              <minute>36</minute>
              <minute>37</minute>
              <minute>38</minute>
              <minute>39</minute>
              <minute>40</minute>
              <minute>41</minute>
              <minute>42</minute>
              <minute>43</minute>
              <minute>44</minute>
              <minute>45</minute>
              <minute>46</minute>
              <minute>47</minute>
              <minute>48</minute>
              <minute>49</minute>
              <minute>50</minute>
              <minute>51</minute>
              <minute>52</minute>
              <minute>53</minute>
              <minute>54</minute>
              <minute>55</minute>
              <minute>56</minute>
              <minute>57</minute>
              <minute>58</minute>
              <minute>59</minute>
    </minutes>

  • Crystal XI Date Time Picker

    <p>Hi Friends,</p><p>I have created a Datetime Parameter in Crystal XI ,But when I run the report It just allows me to select Date  their is no Time Part  in it. In previous versions of Crystal You were able to select the Time Also.</p><p>Any ideas????????</p><p>Thanks</p><p>Rahul</p>

    When I add a DateTime parameter, it only provides buttons for the date. However the text says "Please enter DateTime in format "yyyy-mm-dd hh:mm:ss", and after I have entered the date then there is info like that that allows you to enter a time "2007-3-17 00:00:00"
    Also looks like there is another parameter just for time, this once again doesn't have any buttons, but takes keystroke input for hh:mm.ss.
    Hope this helps.
    Rody

  • Microsoft Date and Time Picker Control 6.0 - Need help!

    I am working on a form in Office 365 Excel 2013 that uses the Microsoft Date and Time Picker Control 6.0.  When I set the form up last week, this Active X control was working perfectly.  The weekend goes by...and now it's not working at all? 
    My PC is 64 bit.  I believe my version of Office is also 64 bit.  When I researched this issue online, I found lots of people who indicated that this control was missing in their development kit.  It was and has always been available in mine
    (i.e. I didn't have to load an MSCOMCT2 file).  Further, this control WAS WORKING when I created it last week.  Now it is not, even though no changes have been made to it.  I can place the control on the sheet and even set properties for it. 
    But once I click out of Design Mode, it is not functioning.  It doesn't open or respond to any clicks on it. 
    Can anyone help me identify a reason why it may have suddenly stopped working?  I don't think it is macro-related because I have a 'Clear Form' button on the same page and it works just fine.
    UPDATE:  I've noticed something else peculiar but relevant.  My office 365 just did some updates.  When updates were completed, it auto-reopened my file.  I noticed that the Date/Time Picker button looked funny (really pixelated). 
    So I hit 'Design Mode' and resized it.  After I exited 'Design Mode,' it started working again.  I tested it, along with my 'Clear Form' button multiple times.  It seemed to be working fine.  I closed the document and reopened it. 
    Enabled Macros.  When I tried to use it after reopen, it doesn't work again.  Won't respond to ANY attempts to click on it. I can click on 'Design Mode' and it sees the control, edits properties, etc.  But when you click out of 'Design Mode,'
    it's a dead button again.  I also went to someone else's desk to test this form.  Same problem.  Date/Time picker button doesn't work, even after enabling macros.  The Clear Form Button has no problems though.
    Thanks!

    Hi,
    Would you like to tell me your Excel version number (Go to Account>About Excel). I tested in my version :15.0.4569.1504 and the Date and Time Picker Control 6.0 still could be used.
    Then,>> My PC is 64 bit.  I believe my version of Office is also 64 bit.<<  Office 2013 32 bit also could be installed in 64bit operation system. We could check it with Account>About Excel.
    Next, as you said >>After I exited 'Design Mode,' it started working again.  I tested it, along with my 'Clear Form' button multiple times.  It seemed to be working fine.  I closed the document and reopened it.  Enabled Macros. 
    When I tried to use it after reopen, it doesn't work again.<< 
    I recommend we recreate a new blank Excel file and insert the Date and Time Picker Control 6.0 to test.
    If it still does not work well, please try to reinstall and re-registry it. Follow the link:
    https://social.msdn.microsoft.com/Forums/office/en-US/36f83f24-cd76-4f8e-aa7b-5f166666e7d3/excel-2013-popup-calendar
    https://social.msdn.microsoft.com/Forums/en-US/91cf3127-70fe-4726-8a27-31b8964430c5/registering-mscomct2ocx-in-64-bit-windows-7?forum=sbappdev
    If it works well, I suppose this issue is related to macros. I recommend you post the question to MSDN forum to debug them:
    https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=exceldev
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Is it possible to export all of the fields for calendar events ? Specifically we're after the event creation date time.

    We need to find out when a calendar event was created.
    I have been unable to find this information in Lightning or any exports.
    From looking into the local.sqlite database file the cal_events table has a field called
    time_created. Unfortunately when I try to export this, the format is unknown so it just
    exports as a number.
    Does anyone know of another way to export this information ?
    Thanks in advance

    what exactly are you trying to achieve is my obvious question. A single forensic inquiry is different to a full listing of all events over years.
    I assume you mean the created date shown in this view of the database.
    https://support.cdn.mozilla.net/media/uploads/images/2014-06-02-18-47-50-c207d9.png
    The values stored there are javascript date time values.
    If you enter the value into a javascript like
    var d = new Date(1374129123000000);alert(d);
    Where 1374129123000000 is your number not mine then the alert will be the datetime UTC
    You can enter that javascript onto the error console and have it evaluate. Tools menu (Alt+T) > error console.

  • In Sharepoint browser enabled Infopath form Date & Date Time Pickers throws Script errors using https url.

    HI All,
    I am working in Sharepoint 2010 browser enabled Infopath form and is have two Infopath date picker controls. The form is working fine in normal "http://" url. while the same site we are using opening with "https://" and select the date
    from picker then we got the script errors.
    There are no scripts used in this site. It is by default sharepoint 2010 publishing site.
    One more i checked with "Date Time picker" Infopath control also but same issue.
    Below are the errors for reference:-
    Any help is appreciated..!
    Thanks.

    Thanks Linda, for your quick response.
    The  Minimal
    Download strategy  feature is not available
    in SharePoint 2010 and start.js file is also not available.
    can you please suggest the exact location of "start.js"
    file in SharePoint 2010 then i go further or please suggest other way to find or debug the process.

  • Event Creator/Date/Time

    We are using iCal Server as our office calendar.
    In Now-Up-to-Date we were able to see who created an event, and the date and time it was created. This was extremely helpful when a secretary scheduled an event for an attorney in the office - so the attorney would know who to go to with questions and/or which events were scheduled first (for prioritizing purposes if two events were scheduled at the same time).
    Is there anyway to see this information in iCal and/or is iCal working to add this feature?

    what exactly are you trying to achieve is my obvious question. A single forensic inquiry is different to a full listing of all events over years.
    I assume you mean the created date shown in this view of the database.
    https://support.cdn.mozilla.net/media/uploads/images/2014-06-02-18-47-50-c207d9.png
    The values stored there are javascript date time values.
    If you enter the value into a javascript like
    var d = new Date(1374129123000000);alert(d);
    Where 1374129123000000 is your number not mine then the alert will be the datetime UTC
    You can enter that javascript onto the error console and have it evaluate. Tools menu (Alt+T) > error console.

  • Microsoft Date and Time Picker Control 6.0 (SP6) errors

    One of our functioning VBA projects in Outlook 2010, running under Windows 7 Professional (64-bit), unexpectedly stopped functioning a few months ago. When running the VBA macro we started receiving the compile error message:
    "Object library invalid or contains references to object definitions that could not be found"
    PROBLEM FORM CONTROL:  The message was extremely frustrating because it gave no detailed indication of the source of the problem.  With a little research, however, we found that the
    Microsoft Date and Time Picker Control 6.0 (SP6), on a userform accessed by the macro, was generating the error.  A number of older articles, such as the one included below, indicated that we needed
    to re-register the MSCOMCT2.OCX form control, which we did successfully (as did the original author in his question link below).  Unfortunately, as the original author found, simply re-registering the form control did not resolve the problem.
    UNRESOLVED QUESTIONS:
    1. Does anyone know why this functioning control would unexpectedly cease to function?
    2. Can anyone help us restore the functionality of the 'Microsoft Date and Time Picker Control 6.0 (SP6)'?
    3. How come the form control is listed in the object library, is available in the 'Additional Controls' dialog, and can be inserted into a form, without any indication that it is broken?
    SUPPORT ENGINEER RUN-AROUND:  Another frustration is that a responding support engineer, in the prior article, keeps referring the author back to this forum, yet the question is apparently never answered back here in
    the TechNet forum (which ironically refers us back to the original article in the other forum - a game of musical chairs!).
    We suspect that the solution to this problem may be similar to resolving this issue for other similar form controls in other Office 2010 application, not just Outlook.  After several years, and a myriad questions on the internet regarding
    this exact subject, is there someone who can definitively resolve this issue with this control?
    Thank you for any help.
    LINK TO THE ORIGINAL UNANSWERED QUESTION (i.e., regarding the MSCOMCT2.OCX control and reference back to this forum):
    http://answers.microsoft.com/en-us/office/forum/office_2013_release-excel/ms-date-and-time-picker-contol-60-sp-6-w-excel/9b0cc596-5e13-48bc-b03e-13dbfd1c7f9d

    Hi,
    Would you like to tell me your Excel version number (Go to Account>About Excel). I tested in my version :15.0.4569.1504 and the Date and Time Picker Control 6.0 still could be used.
    Then,>> My PC is 64 bit.  I believe my version of Office is also 64 bit.<<  Office 2013 32 bit also could be installed in 64bit operation system. We could check it with Account>About Excel.
    Next, as you said >>After I exited 'Design Mode,' it started working again.  I tested it, along with my 'Clear Form' button multiple times.  It seemed to be working fine.  I closed the document and reopened it.  Enabled Macros. 
    When I tried to use it after reopen, it doesn't work again.<< 
    I recommend we recreate a new blank Excel file and insert the Date and Time Picker Control 6.0 to test.
    If it still does not work well, please try to reinstall and re-registry it. Follow the link:
    https://social.msdn.microsoft.com/Forums/office/en-US/36f83f24-cd76-4f8e-aa7b-5f166666e7d3/excel-2013-popup-calendar
    https://social.msdn.microsoft.com/Forums/en-US/91cf3127-70fe-4726-8a27-31b8964430c5/registering-mscomct2ocx-in-64-bit-windows-7?forum=sbappdev
    If it works well, I suppose this issue is related to macros. I recommend you post the question to MSDN forum to debug them:
    https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=exceldev
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Issue with Date and Time Picker on Windows 8.1 and Office 2013

    We are having a issue with the Developer tool in Excel called the Date and Time Picker which puts a calendar field into the spreadsheet where you can select a date from the calendar popup
    If we change this date field and then save and close and reopen it reverts back to the previous date before the change was made
    If we do the same process on a Windows 7 machine with Office 2013 it saves the changes we made to the Date and Time picker field

    Hi jdono2,
    I'm using Windows 8 and Office 2013,and I can't reproduce this issue.
    Please make sure you have already upgraded to the latest version of excel, try to reregister the MSCOMCT2.OCX.
    Also you can try to use another date picker add-in to test this issue.
    http://social.msdn.microsoft.com/Forums/office/en-US/36f83f24-cd76-4f8e-aa7b-5f166666e7d3/excel-2013-popup-calendar?forum=exceldev
    Wind Zhang
    TechNet Community Support

  • DATE AND TIME PICKER ACTIVEX NOT WORKING

    The microsoft date and time picker (6.0) is not working in systems which doesnt have MS office. What is the solution to use this in systmes which doesnt have office.

    I'm not sure what the date and time picker does, but if you use an ActiveX object which does not exist on another system, the only way for it to work is to install MS Office on the target machine. The ActiveX component has to be registered on the systems.
    Probably not what you wanted to hear.
    Is there any way you can get what you want without using ActiveX?
    Mark

  • Date picker is not available in date/time field

    Hi there,
    I'm wondering while using a date/time field. Since I made some changes on this field the date picker (Arrow down right next to the field to show up a calendar) is no longer available. Has anybody got a clou what the problem might be or how I can bring the date picker back to this field.
    Thanks in advance.
    Best,
    Maja.

    Hi there,
    I'm just wondering about the following settings/patterns:
    As you can see this field is from the type "Date/Time Field". So far so good, but when I'm opening the dialog "Patterns", this dialog is just for a "Date Field" and not for a "Date/Time Field". No trouble so far, but the confusion thing is that the date picker is available in this field. Has anybody a clou how this is working? Or can anybody help me to convert a "Date/Time Field" to a normal "Date Field" which provides this date picker?
    Thanks in advance and kind regards,
    Maja

  • Date and Time Picker

    Dear team although I registered still can use

    Hi,
    Would you like to tell us more detailed information? Which Office version are you using? Office 2013 or other.
    According to your description, did you mean that Date and Time Picker control was missed, even you have registered it?  If yes, please see the thread below and re-download the controls to test.
    https://social.technet.microsoft.com/Forums/en-US/0d3642b9-4e97-4fb5-9f75-2d1b7477a278/missing-microsoft-date-and-time-picker?forum=officeitproprevious
    If no, please feel free let me know.
    On the other hand, if this issue occurred after installed the Microsoft Office Security Updates for December 2014, please try to see the blog:
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2014/12/13/forms-controls-stop-working-after-december-2014-updates-.aspx
    Regards,
    George Zhao
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click "[email protected]"

  • Issue: format / "language" of current Date (in date/time field), javascript only

    Hi,
    I have 2 date fields in my form, which should display the date in differnt format. (yyyy.mm.dd /  dd-mm-yyyy)
    To get the current date I use java script only
    Formular1.p1.date_YYYYmmDD::initialize - (JavaScript, client)
         var date = new Date();
        this.rawValue  =  date.toLocaleDateString();
    My first problem is (red): I get date in English, but I want it in a different language. As it was set in form settings
    My second issue is: how can I format a date/time-filed (not a text field) in javascript with a specific pattern on init-event?
    It seems my code in init-event overrides the pattern configuration of the date/time-field
    Here is my form, if anyone want to check it:
    https://acrobat.com/#d=zeOMyj9MhBdYbVWk8S1pHw

    Hi,
    I think both problems are the same, when setting a date/time field using the rawValue the format always has to be yyyy-mm-dd, if you use any other format the value is just treated as text and displayed without formatting.  
    var date = new Date();
    this.rawValue = util.printd("yyyy-mm-dd", date);
    You can also set the formattedValue if you have a date in the correct format. 
    var date = new Date();
    var currentLocale = xfa.resolveNode("#localeSet.#locale").name;
    var dateFormat = "date("+currentLocale+"){DD MMM, YYYY}"
    this.formattedValue = util.printd(dateFormat, date, true) 
    This code assumes the display pattern is date{DD MMM, YYYY}
    The date format specification is in the XFA Spec http://partners.adobe.com/public/developer/xml/index_arch.html
    Regards
    Bruce

  • Date selection will not print properly when using Microsoft Date and Time Picker Control 6.0 in Excel 2010

    I have created a field input worksheet in which the user identifies start and end dates for training sessions, using the Date and Time Picker Active X Control.  It works fine on-screen, but when the worksheets are printed, the dates that were selected
    using the date picker calendar print out in an unreadable, huge font.  The large font also appears in the print preview mode.  I've tried modifying various properties in design mode, but nothing that I have tried will correct the problem. 
    Any ideas?

    The DTPicker seems to have some bugs in it when used on a worksheet. I have overcome the above by setting the size properties to the same size as a cell and the Linked cell property to the
    cell under the DTPicker. (Even setting the Linked cell had problems with an error message referring to the Check box property to be set to true so I just set it to true and inserted the linked cell and set the checkbox property back to
    false.)
    Then the VBA code below that Hides the DTPicker after a date is selected and unhides the DTPicker when the linked cell with the date is selected. The code is for 2 DTPickers so you will need to edit to suit your requirements.
    Caveat: If the DTPicker is visible then you can't hide it by selecting the same date again. If this occurs then it is a multi step operation. First select another date and the DTPicker will hide, then click on another cell then back on the cell with
    the date to unhide the DTPicker and then select the correct date.
    Hope it helps and feel free to get back to me with any questions etc.
    Private Sub DTPicker1_Change()
        Me.DTPicker1.Visible = False
    End Sub
    Private Sub DTPicker2_Change()
        Me.DTPicker2.Visible = False
    End Sub
    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
        Select Case Target.Address
            Case "$E$5"     'This is the linked cell for DTPicker1
                Me.DTPicker1.Visible = True
            Case "$E$13"    'This is the linked cell for DTPicker2
                Me.DTPicker2.Visible = True
        End Select
    End Sub
    Regards, OssieMac

Maybe you are looking for