Date/time-operations - need help

Hi there,
I have a simple question but i don't have really good ideas to solve the problem with ABAP.
This is the situation in which I need help:
I have many date/time-pairs (every in a single variable of type d and t). Now I want to compare one date/time-pair with a given date (also as pair). This will give a time difference between the two dates.
After that I want that all other date/time-pairs are shifted by this time difference (can be + and -).
So now my solution yet:
* FORM for calculation the time difference between 2 dates
FORM idoc_compare_dates  USING    iv_date_orig
                                  iv_time_orig
                                  iv_date_new
                                  iv_time_new
                         CHANGING cv_diff       TYPE p.
  DATA: lv_timestamp_orig    TYPE timestamp,
        lv_timestamp_new     TYPE timestamp.
* Creating timestamps for comparison
  CONVERT DATE iv_date_orig TIME iv_time_orig
    INTO TIME STAMP lv_timestamp_orig TIME ZONE sy-zonlo.
  CONVERT DATE iv_date_new TIME iv_time_new
    INTO TIME STAMP lv_timestamp_new TIME ZONE sy-zonlo.
* Calculation the time difference
  cv_diff = lv_timestamp_new - lv_timestamp_orig.
ENDFORM.                    " IDOC_COMPARE_DATES
* FORM for shifting a date by the time period calculated in the first FORM
FORM idoc_calc_single_date  USING    iv_diff      TYPE p
                                     iv_date_orig
                                     iv_time_orig
                            CHANGING cv_date_new
                                     cv_time_new.
  DATA: lv_timestamp_orig   TYPE timestamp,
        lv_timestamp_new    TYPE timestamp.
* Creating a timestamp for the original date
  CONVERT DATE iv_date_orig TIME iv_time_orig
    INTO TIME STAMP lv_timestamp_orig TIME ZONE sy-zonlo.
* Shifting the date
  lv_timestamp_new = lv_timestamp_orig + iv_diff.
* Creating the new date into the output-variables
  CONVERT TIME STAMP lv_timestamp_new TIME ZONE sy-zonlo
    INTO DATE cv_date_new TIME cv_time_new.
ENDFORM.                    " IDOC_CALC_SINGLE_DATE
I am not sure if this coding above is really correct. Can you please check it? Perhaps you have also other ideas to solve this problem?
Thank you!!
Kind regards

Thank you for your answers. Now I've created a small dummy-report, that tests the logic. And I think it seems to be okay.
You can also check it if you want to with this small report:
REPORT  zjz_test_timediff.
PARAMETERS: p_dat1  TYPE sydatum DEFAULT sy-datum,
            p_zei1  TYPE syuzeit DEFAULT sy-uzeit,
            p_dat2  TYPE sydatum DEFAULT sy-datum,
            p_zei2  TYPE syuzeit DEFAULT sy-uzeit.
SELECTION-SCREEN: SKIP 2.
PARAMETERS: p_diff type p.
SELECTION-SCREEN: SKIP 2.
PARAMETERS: p_dat3  TYPE sydatum,
            p_zei3  TYPE syuzeit.
DATA: lv_timestamp_orig   TYPE timestamp,
      lv_timestamp_new    TYPE timestamp,
      lv_diff             TYPE p.
AT SELECTION-SCREEN.
  PERFORM idoc_compare_dates USING p_dat1
                                   p_zei1
                                   p_dat2
                                   p_zei2
                          CHANGING p_diff.
  PERFORM idoc_calc_single_date USING p_diff
                                      p_dat1
                                      p_zei1
                             CHANGING p_dat3
                                      p_zei3.
*&      Form  IDOC_COMPARE_DATES
FORM idoc_compare_dates  USING    iv_date_orig
                                  iv_time_orig
                                  iv_date_new
                                  iv_time_new
                         CHANGING cv_diff       TYPE p.
  DATA: lv_timestamp_orig    TYPE timestamp,
        lv_timestamp_new     TYPE timestamp.
  CONVERT DATE iv_date_orig TIME iv_time_orig
    INTO TIME STAMP lv_timestamp_orig TIME ZONE sy-zonlo.
  CONVERT DATE iv_date_new TIME iv_time_new
    INTO TIME STAMP lv_timestamp_new TIME ZONE sy-zonlo.
  cv_diff = lv_timestamp_new - lv_timestamp_orig.
ENDFORM.                    " IDOC_COMPARE_DATES
*&      Form  IDOC_CALC_SINGLE_DATE
FORM idoc_calc_single_date  USING    iv_diff      TYPE p
                                     iv_date_orig
                                     iv_time_orig
                            CHANGING cv_date_new
                                     cv_time_new.
  DATA: lv_timestamp_orig   TYPE timestamp,
        lv_timestamp_new    TYPE timestamp.
  CONVERT DATE iv_date_orig TIME iv_time_orig
    INTO TIME STAMP lv_timestamp_orig TIME ZONE sy-zonlo.
  lv_timestamp_new = lv_timestamp_orig + iv_diff.
  CONVERT TIME STAMP lv_timestamp_new TIME ZONE sy-zonlo
    INTO DATE cv_date_new TIME cv_time_new.
ENDFORM.                    " IDOC_CALC_SINGLE_DATE

Similar Messages

  • Problem in Date/Time Operation

    I am a newbie in Java programming. Now, I am facing some difficulty regarding date/time operation.
    The logic is something like this:
    int TimeA = Integer.parseInt(formatDate(new Date(), "HHmm"));
    int TimeB = Integer.parseInt("0000"); // 0000 means 12:00AM
    // 0 means 12:00AM
    if (Math.abs(TimeA - TimeB) < 5) {
          // Do something here
    // Method formatDate(Date, String)
    public String formatDate(Date date, String pattern) {
            SimpleDateFormat sdf = new SimpleDateFormat(pattern);
            sdf.setLenient(false);
            return sdf.format(date);
    }In general, I want to perform some task if (TimeA - 0) is less then 5 minutes, where 0 actually representing 12:00AM.
    I have no idea how to write the logic. I am looking for help, and hope to get any advice from the net.
    Thanks in advanced.

    Assuming TimeA is a java.util.Date Object:
    - Get a Calendar Object.
    - Feed it with TimeA (setTime())
    - Set the Calendar's time to 12AM (Calendar.set(Calendar.HOUR, ...)
    - get TimeA timeInMillis
    - compare it with the Calendar's timeInMillis
    - five minutes are 5 * 60 * 1000 miliseconds.

  • 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>

  • Ok, one more time i need help...

    ok, i've got my class program running properly... just need some help with the test program... i need this to print out the name of a card when the user is prompted to type one in... for example the user types in "8H" and it would print out "8 of hearts"... here's my class program and test program... i just need help with the test program...(i know i'm missing some lines on it, but i'm not sure what to put in)... so here it is:
    public class Card
    public Card(String x, String y)
    facevalue = x;
    suit = y;
    public String getDescription()
    String x;
    if (facevalue.equalsIgnoreCase("A"))
    x = "Ace of";
    else if (facevalue.equalsIgnoreCase("K"))
    x = "King of";
    else if (facevalue.equalsIgnoreCase("Q"))
    x = "Queen of";
    else if (facevalue.equalsIgnoreCase("J"))
    x = "Jack of";
    else if (facevalue.equalsIgnoreCase("10"))
    x = "10 of";
    else if (facevalue.equalsIgnoreCase("9"))
    x = "9 of";
    else if (facevalue.equalsIgnoreCase("8"))
    x = "8 of";
    else if (facevalue.equalsIgnoreCase("7"))
    x = "7 of";
    else if (facevalue.equalsIgnoreCase("6"))
    x = "6 of";
    else if (facevalue.equalsIgnoreCase("5"))
    x = "5 of";
    else if (facevalue.equalsIgnoreCase("4"))
    x = "4 of";
    else if (facevalue.equalsIgnoreCase("3"))
    x = "3 of";
    else if (facevalue.equalsIgnoreCase("2"))
    x = "2 of";
    else
    x = "Please enter a valid face value";
    String y;
    if (suit.equalsIgnoreCase("H"))
    y = x + "Hearts";
    else if (suit.equalsIgnoreCase("D"))
    y = x + "Diamonds";
    else if (suit.equalsIgnoreCase("C"))
    y = x + "Clubs";
    else if (suit.equalsIgnoreCase("S"))
    y = x + "Spades";
    else
    y = x + "Please enter a valid suit";
    return y;
    private String facevalue;
    private String suit;
    and the test program...
    import javax.swing.JOptionPane;
    A class to test the Card class.
    public class CardTest
    public static void main(String[] args)
    String input = JOptionPane.showInputDialog(
    "Enter a face value in the form of a letter (for face cards) or a number and a letter for the suit of a card:");
    Card c1 = Card();
    System.out.println(c1.getDescription());
    System.exit(0);
    }

    ok, i've got my class program running properly...
    just need some help with the test program... i need
    this to print out the name of a card when the user is
    prompted to type one in... for example the user types
    in "8H" and it would print out "8 of hearts"...
    here's my class program and test program... i just
    need help with the test program...(i know i'm missing
    some lines on it, but i'm not sure what to put in)...
    so here it is:
    public class Card
    public Card(String x, String y)
    facevalue = x;
    suit = y;
    public String getDescription()
    String x;
    if (facevalue.equalsIgnoreCase("A"))
    x = "Ace of";
    else if (facevalue.equalsIgnoreCase("K"))
    x = "King of";
    else if (facevalue.equalsIgnoreCase("Q"))
    x = "Queen of";
    else if (facevalue.equalsIgnoreCase("J"))
    x = "Jack of";
    else if (facevalue.equalsIgnoreCase("10"))
    x = "10 of";
    else if (facevalue.equalsIgnoreCase("9"))
    x = "9 of";
    else if (facevalue.equalsIgnoreCase("8"))
    x = "8 of";
    else if (facevalue.equalsIgnoreCase("7"))
    x = "7 of";
    else if (facevalue.equalsIgnoreCase("6"))
    x = "6 of";
    else if (facevalue.equalsIgnoreCase("5"))
    x = "5 of";
    else if (facevalue.equalsIgnoreCase("4"))
    x = "4 of";
    else if (facevalue.equalsIgnoreCase("3"))
    x = "3 of";
    else if (facevalue.equalsIgnoreCase("2"))
    x = "2 of";
    else
    x = "Please enter a valid face value";
    String y;
    if (suit.equalsIgnoreCase("H"))
    y = x + "Hearts";
    else if (suit.equalsIgnoreCase("D"))
    y = x + "Diamonds";
    else if (suit.equalsIgnoreCase("C"))
    y = x + "Clubs";
    else if (suit.equalsIgnoreCase("S"))
    y = x + "Spades";
    else
    y = x + "Please enter a valid suit";
    return y;
    private String facevalue;
    private String suit;
    and the test program...
    import javax.swing.JOptionPane;
    A class to test the Card class.
    public class CardTest
    public static void main(String[] args)
    String input = JOptionPane.showInputDialog(
    "Enter a face value in the form of a letter (for
    r face cards) or a number and a letter for the suit
    of a card:");
    Card c1 = Card();
    System.out.println(c1.getDescription());
    System.exit(0);
    }Instead of
    Card c1 = Card();try
    Card c1 = Card("a", "h");You have to pass something for the class to knwo what you are trying to do. In short you need to initialize the object. Now where you get these values from is your call.

  • Quick Time VR - need help creating qtvr

    I'm teaching my middle school students web design and flash to create an interactive school map. I want to add 360 qtvr's but I need help - I can't seem to get information on how to create them. Any Los Angeles help possible?

    QuickTime Pro doesn't create VR files. It only presents them.
    http://www.panoramas.dk/quicktime/qtvr/software.html
    A pretty good list of tools at that link.

  • Clock incorrect, and adjusting in Date & Time doesn't help

    I have corrected this in date and time by updating the timezone and even manually setting the clock, but the time displayed by my computer is still based on the GMT timezone for some reason.  Thank you for your help. 

    I'm using Snow Leopard, but I'm assuming it's in the same location. Enter /private/etc in Go>Go to Folder in the Finder menu, then scroll down to localtime.
    localtime on mine appears to be an alias to /usr/share/zoneinfo. If I right-click Show Original on the alias localtime, I see that mine is set to New York in the zone America. Your localtime apears to be locked and doesn't allow you to make this change.
    So try this, which should unlock localtime. Copy/paste the following command into Terminal in Utilities, then hit return. You will be asked for your admin password, which you won't see anywhere when you type it in, and hit return again.
    sudo chflags nouchg /private/etc/localtime
    Now try setting the time preference.
    If this doesn't do it, one or two more steps may be required.

  • Time Capsule:  Need help accessing my video surveillance DVR from the Internet.

    I am using the latest 4th Generation Time Capsule attached to a DSL Modem.  My 4 video Survilance DVR is connected to a switch then to the Time Capsule.  How or what is needed to be able to access the DVR via the internet.  I am able to access the DVR from within the home network only.  Would appreciate some guidance.
    Thanks in advance.

    Is the modem bridged?
    If not and working in router mode then the TC should be bridged.. this will never work if you have double NAT.
    Whichever box is the main router will need to forward the required ports for the camera dvr.. does the software use port 80 ie html?? That means you just forward port 80 to the IP address of the dvr. But find out the port.. the dvr instructions should tell you. Port forwarding on the TC.. ain't hard.. just google for the instructions. If the dsl modem is router, read its manual.
    You will need to lock the ip of the dvr so it doesn't shift. Do that in the router if possible but I am not sure you can on the TC. You will need to do it on the device using a static ip.
    The other thing is public IP .. do you have a static public address.. if not you will need to run dyndns. this is not available in the TC.. as most things are not available. So you will also need to check the dvr remote access instructions as it might have a dyndns client.. or you will have to use dsl modem as router even if you currently bridge it.
    Sorry this is making it complicated.
    Give some feedback and we can go from there.
    What is the main router?
    What modem is it exactly?
    What make and model is the DVR? A URL to the pdf manual will help if it gets complicated.
    What port do you use to access the DVR?
    Is there a dyndns client in the dvr?

  • Time Remapping - Need help

    I've been playing with this for a while and I just can't figure it out.  In the AE Help it shows keyframes being moved up and down with nice straight lines maintained between them, but when I do it I get bezier handles that produce crazy curves which I can't resolve.  Tried doing it in the Layer window and can't figure out what I'm doing.  I may just not understand this as a concept.
    I have a 6 second animation that I need to incorporate into a composition.  The actual animation stops at 4 seconds, holding on the last frame for 2 seconds.  I want to alter the timing so the animation completes at 2 seconds and then holds the frame for 8 seconds.  In other words, I want the first 4 seconds compressed into two seconds, then the last 2 seconds stretched to 8 seconds, for a total of 10.  It sounds easy, but I can't seem to get my head around it!  Can anyone give me some insight into time remapping that will let me do this?

    I don't really see you problem. In order to change the timing, you change the keyframe value, not its tangents. so you change the keyframe's value from 6 to 2, nothing more. The curves merely express the rate of change inbetween keyframes. To reset to linear interpolation, simply select the keys and hit teh respective icon at the bottom of the graph editor.
    Mylenium

  • Oracle Interval and Date/Time Conversions. Help!

    Hi guys.
    I am trying to migrate from MySql to Oracle some queries, but I don't know how works some SQL functions in Oracle.
    One of my queries I have to add to a date variable an amount of microseconds, seconds or minutes, in mysql the function is like this:
    DATE_FORMAT(LOCALDATE + INTERVAL DeltaT * 1000 MICROSECOND , '%d/%m/%Y %H:%i')
    I woud like also convert seconds, minutes, or hours to a Time variable, my example in mysql is like this:
    TIME_FORMAT(SEC_TO_TIME(DeltaT div 1000),'%H:%i')
    By the way: DeltaT is in seconds and LOCALDATE is a date variable.
    I hope you can help me with this.
    Thanks.

    SQL> CREATE TABLE t (localdate DATE, deltat INTEGER);
    Table created.
    SQL> INSERT INTO t VALUES (DATE '2006-12-25', 1234);
    1 row created.
    SQL> INSERT INTO t VALUES (DATE '2006-12-25', 23456);
    1 row created.
    SQL> alter session set nls_date_format = 'DD-MON-RRRR HH24:MI:SS';
    Session altered.
    SQL> SELECT localdate
      2       , deltat
      3       , localdate + deltat/86400
      4  FROM   t;
    LOCALDATE                DELTAT LOCALDATE+DELTAT/864
    25-DEC-2006 00:00:00       1234 25-DEC-2006 00:20:34
    25-DEC-2006 00:00:00      23456 25-DEC-2006 06:30:56
    2 rows selected.

  • Checking internal disk of Time Capsule, need help

    I have copied to TC a very big folder with photos but TC have lost connection during the process.
    And now there is grey coloured folder witch I can't delete.
    I think it's kind of error in file system.
    How do I check file system on internal disk of my Time Capsule?
    Thanks in advance

    Thank you for a clue.
    Have tried many variations to solve the problem and method of deleting via terminal has helped me.
    I've found the solution at apple support page but after about an hour of serfing in Internet.
    http://support.apple.com/kb/HT1526?viewlocale=en_US
    Advanced tip about deleting locked files
    If there are several locked files in the Trash, you can unlock them all at the same time at the command line. Follow these steps:
    Open Terminal. It's located in /Applications/Utilities.
    Type: chflags -R nouchg
    Note: Type one space (not pictured) after nouchg in the line above, so that it ends in "nouchg ". Do not press Return yet.
    Double-click the Trash icon in the Dock to reveal the contents of the Trash. If necessary, arrange the Finder window so that a portion of the Terminal window is still visible.
    Press the Command-A key combination to select all files in the Trash.
    Drag the files from the Trash to the Terminal window.
    Note: This automatically enters the pathname for each file. This eliminates the need to individually empty multiple Trash directories, particularly when multiple disks or volumes are present.
    Press Return. No special text message will be shown indicating that the command was successful.
    Empty the Trash.
    If the Trash does not empty or if you see a message in Terminal that says "usage: chflags [-R [-H | -L | -P]] flags file..." you most likely did not type the text in step 2 as indicated or did not leave a space. Repeat the steps if this happens.

  • Data Plan Lost Need Help!!!

    I activiated my iphone back on July 17th. I ported a number over from verizon and when that happened, my data plan disappeared. I called AT&T and they said I have to add it back to my plan by doing it through Itunes. They said just plug it in and sync it with Itunes and it will walk me through it. Well of course this did not happen. Can someone please help me out with this? Thanks!

    No they're wrong. You need to have ATT do it. Call them back and ask to talk to someone who knows what they're doing.

  • Getting new MBP within a months time and need help !!!!!!

    I will be ordering a new MBP and I am having some difficulty deciding weather to get the 15" 2.16 with a 100gig 7200rpm HDD and then manually upgrade to 2gigs of ram or get the 17" 2.16 with the 100gig 7200rpm HDD and do the same with the ram. this laptop will be my first laptop and I will be mostly using it for web browsing, email, and some word processing, MP3's. right now I have 2 desktops I use one a windows based for games and a mac mini for mac based desktop needs, both the mini and my windows run off my 17 inch LCD. so I guess my question is the 17" really what I need or will the 15" be good enough and what about the super drives 15" being 4x and the 17" being 8x is there a big difference in burning time for videos.

    Since my techie knowledge is pretty limited, I have a question of the yonah vs merom. I hear that yonah is 32 bit and merom is 64 bit. More seems better but if all I do, on average, is use my future MBP for citrix programs (electronic medical records, specifically), websurfing, occasional picture editing with iphoto (cause I'm too cheap to buy better software that I can't count as a tax deduction), preparing powerpoint presentations, and i guess now making little imovies (and I mean very short clips) since I'll have a dvd burner. Phew! run on sentence....so, would having merom make much difference? And yeah, a macbook would probably serve me well, but I want the 15" screen. I plan on keeping it for 4 years +/- a year depending on how my needs change after residency. I don't do gaming except for weak pogo games every once in a while (cause I need breaks from reading about diseases).
    Is it really worth it for me to wait? at first I waited cause I lacked the cash. Now I have my tax refund to help defray the cost. Oh and then I had a immediate need because my powerbook screen started separating due to trauma I inflicted on it when I was having wireless issues. I found a cheap fix so the urgency from the standpoint of need went away.
    At this point, I would only wait because I intend on having it for a long time and I want the best I can get. Will having a yonah now make it difficult to get software, use future OSX versions, or otherwise difficult to function? I imagine that at least Leopard will work on the current systems otherwise all the folks complaining of "obsolete" machines after the last mini update would burn apple headquarters to the ground. And it really would make no sense to sell machines that can't use software being made ready for release. I actually decided against even going to tiger on this computer because I figured I'd wait for my new computer.
    Why torture myself by waiting if it won't make a lick o difference?

  • Just bought new time capsule- need help setting up WiFi network with another router

    Here ismy situation.
    I had a wireless network setup up at home using a Belkin wifi router.
    I have 2 macBooks (1 pro, 1 air) and 2 iphones that connect wirelessly and a desktop PC that is hard wired to the ethernet port.  In addition, I have a Verizon wireless network extender plugged in by ethernet.  All of the hard-wired gear is in our 3rd floor attic office (and the wireless signal was strong throughout the house).
    The Belkin wifi router was plugged into a wall ethernet jack that is in turn wired into a Linksys router in the basement (along with multiple other ethernet ports througout the house) and is hardwired to the Cable modem next to it.  All of the hard-wired ethernet stuff (including the router in the basement) was there when we bought the house, and I have no clue in the tangle of wires how to sort them out (but don't really think I need to)
    I just purchased a TimeCapsule to do wireless backups of my 2 macbooks, and tried to set it up alongside the existing wireless modem.
    Needless to say, this did not work well. I called  AppleCare, and was told that the TimeCapsule needs to be the "1st" wireless adapter, so I went into the basement, and connected the time capsule directly to the cable modem, and then out to the basement router.  The Belkin router still needs to be in the attic to supply the PC and the Verizon adapter (so it is near a window for GPS signal). 
    If I try to name the WiFi network the same SSID on both the TC and the belkin router (to have dual signal strenth coverage) the whole thing gets messed up and the TC cannot be "found" by the aiprort Utility software.
    What I have done now is that I have 2 side-by-side wireless networks with 2 unique names (actually 3, because I enabled the 5Ghz signal on the TC), but our wireless devices do not "switch" automatically from one SSID  to another stronger signal SSID as we move through the house
    Here's the question: How do I name them the same so that the devices will switch effortlessly to the stongest signal?  I understand it involves switching the "channels" but don't know how to do it right now.  Currently, everything works, so I don't want to mess it up tinkering.  Another caveat- there are several other wireless networks from neighbors houses that I can "see".  I jsut downloaded a program called iStumbler that shows the channels, but not sure what to do with that info.
    Any advice would be appreciated.

    Here's the question: How do I name them the same so that the devices will switch effortlessly to the stongest signal?  I understand it involves switching the "channels" but don't know how to do it right now.  Currently, everything works, so I don't want to mess it up tinkering.  Another caveat- there are several other wireless networks from neighbors houses that I can "see".  I jsut downloaded a program called iStumbler that shows the channels, but not sure what to do with that info.
    Any advice would be appreciated.
    OK.. sounds like a mess.. or at least messy and the previous people should have left a log book with all the IP address info in it.. you have far too many routers.. but from here it is impossible to tell how they are configured. Most are probably just setup as AP.
    Naming rule for wireless.. Same SSID same security different channel.
    SSID ie wireless name to work on the PC side should have no spaces and no special characters. TC name should also follow that rule. So the devices need to all set with fixed channels.
    Don't worry too much about iStumbler and what is outside your house.. there isn't enough channels at 2.4ghz anyway. And you are going to need to use them all. There are only three non-overlapping channels. 1, 6, 11 so set each device to one of those channels. The TC should be as close as you can to where you normally use the MacBooks.. and turn on the 5ghz. You will have to leave it to automatic name so the Macbook can also roam across from 2.4 to 5ghz. But if you care to use a different name and force it onto 5ghz the speed is much better as long as you are in the same room.
    Roaming is great in theory.. often in practice it just doesn't work.. you need to step in and turn off wireless and then turn it back on.. you can quickly see which router it is connecting to by hold down the option key when you click the airport fan in the top menu area.. and look at bssid.. you will have to figure out which number MAC address relates to which router.
    Also do not be surprised if Lion gives you issues. It seems to often drop out and lose connection to the TC as a backup device even if internet is still working.

  • Trying to delete "submit" button. Tried unsucessfully 5 times. Need help and want to start over.

    I created a pdf that I just wanted people to be able to fill in, download, print out and then mail to me.  I followed the instructions from a previous acrobat expert who replied to me yesterday and that did not work.  Now, I've tried this 5 times and the system has blocked me out unless I pay for your advanced system which is $143.  Please help
    Re: Want to delete the "submit" link on a pdf
    created by Lucia Lao in FormsCentral - View the full discussion
    Hi,
    I believe this is a form that you created with FormsCentral and then you downloaded/saved as PDF via the "Save Submission-Enabled PDF" button via the Distribute Tab.
    Please select via FormsCentral app main menu:
    - File -> Save As PDF Form... and then
    - when you get the dialog "Would you like your PDF form to collect responses online in the "View Responses" tab?" select "Don't Collect Responses" button.
    This will save the PDF form without the Submit button/link.
    Thanks,
    Lucia
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5218029#5218029
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: [http://forums.adobe.com/message/5218029#5218029]
    To unsubscribe from this thread, please visit the message page at [http://forums.adobe.com/message/5218029#5218029]. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in FormsCentral by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

    The instructions Lucia gave you were correct. It seems you have a Basic trial account (5 forms). You can just delete the forms you are not using so you can create more. Can you explain in more detail how those instructions above didn't work? I think there is some confusion so any details you can provide will help clear it up.
    Randy

  • Photo Recovery in Time Machine - Need HELP !!!

    Hello Everyone,
    Problem - How do i recover back all my photos that's in my iPhoto application inside my Time Machine Backup ? Do i need to recover the whole system back from my Time Machine backup to get all my photos back ? It's Important for me. Thanks alot ! If I open iphoto in TimeMachine its Empty... = (

    Open iPhoto then launch Time Machine. You should now be able to restore your pictures. If that doesn't work locate your iPhoto Library in your pictures folder and restore it from there.
    Message was edited by: Noiseboy2006

Maybe you are looking for

  • Can i have two iTunes accounts on one machine

    i have recently moved in with my partner and we both have our own iTunes accounts. is there a way to have both these accounts linked so that they can be kept seperate and still sync them both to our iPhones from one iMac. it is important that they ar

  • Save as Optimized PDF only in Pro?

    I used the trial version of Acrobat X Pro and used the Save As...Optimized PDF often.  I just bought the standard version and don't see this option.  Is it only available in the pro version?

  • Flex Builder Icon

    Flex Builder 2.0.1 is using the older Macromedia-Style spherical icon. Any idea when the new Icon will be used? I notice Ted Patrick is already using the new Flex(Fx) icon on his blog. I was hoping this update would start using the new branding as th

  • Duplicate records in seletc max

    Hi Guys I need to select the most recent record of objid. So I'm selecting them like this: SELECT objid            begda            endda            stext       MAX( endda )       FROM hrp1000       INTO CORRESPONDING FIELDS OF TABLE   ti_hrp1000    

  • HT5312 Please help forgot the security question.. And no list: forgot security question? Send to your rescue email to....  Please help me...

    Please help me... Just forgot my security question.. N no list  forgot security question? Send to email ....... Below.. Only the question sould answer..  Please help me...