Birthdates Prior to January 1, 1970.

We recently installed Eloqua and I am just learning the system.  I am attempting to segment on birth date – specifically customers who have a birthdate between 04/21/1951 and 04/21/1980 (customers who are between 35 and 64 years of age).  I receive an error message when I validate the segment.  I have isolated the issue to the date of January 1, 1970 – any date prior to January 1, 1970 errors out.  But the segment works great with dates on or after January 1, 1970.  Any insights would be appreciated.

You could write a function to manually calculate it yourself based on knowing the number of milliseconds in a second, the number of seconds in a minute, the number of minutes in a hour... and so on. So you could parse the date, and then go from there.
No build in Java date function or class is going to help you though, I don't think.

Similar Messages

  • My Phone Thinks it's January 1st, 1970. How Do I Bring it Back to the Future?

    I've never actually seen that movie, I'm sorry if I don't understand any references.
    Okay! So, here's the run-down. I have an LG Lucid 2. I am in England right now studying abroad for the year, and I have suspended my phone service, and have only been using wifi when it's available. When I got into the UK, my phone was still on USA Central time. I have searched the phone, and the manual, and an online version of the manual, and have not been able to find a way to change the date and time manually. Now, this ordinarily wouldn't have been a problem, but then I took my SIM card out (wanted to see if the SIM cards they've been giving away here would fit in my phone if I got it unlocked from Verizon and not have to get a new phone to use here, but I did not put the other SIM card into the phone) and put it back in and started the phone up. This is when it time-traveled. It started back up at 6:00pm, January 1st, 1970. So now, a lot of my apps aren't working because they're demanding I change my date and time, but when I go to do that, the only options I have are to change the date and time /format/. I just want to get my phone onto the right time. I even tried to hard reset it, but when I held both the power button and the volume button after turning it off, it came to a screen that said something like "Downloading Screen, Do Not Unplug Device Until Finished" or something like that. If I didn't touch it, it would stay like that. If I touched the power button like the manual says to do, nothing happened. I could only get one thing to happen - which is for it to start back up again with all of my apps and media and settings. So. That didn't work. Please help. Please. I am tearing my hair out over this and after waiting an hour, staring at the livechat button, willing it to turn on, I've had no luck.

    Just for asking can you post a screen shot of the Date and Time settings,  Like shown below"  press either the Lower volume and power or upper volume and power the 2 that snaps a screen shot once you've done that if ya know how to post a S.S.  post it to thread and that way it will give us a Look at your settings..
    Here's a Screen shot of my Droid Maxx with the Date and Time..

  • Date - 00:00:00 GMT, January 1, 1970???

    Hi:
    How do I turn this long into a Date?
    This is for the lastModified() function of the File object:
    "A long value representing the time the file was last modified, measured in milliseconds since the epoch (00:00:00 GMT, January 1, 1970)"

    Try this:
    Date lastMod = new Date(myFile.lastModified());Regards,
    Dave Gilbert
    http://www.jfree.org

  • UTC timestamps in milliseconds offset from January 1, 1970

    Hello,
    The problem is that I must generate miliseconds offset from jan-1-1970 for a java app from my PL/SQL application.
    how do I can, from a given datetime, get UTC timestamps in milliseconds offset from January 1, 1970?
    I'm in the Canada/Eastern time zone and I'm using the following function:
    CREATE OR REPLACE FUNCTION date_to_float (dt IN DATE)
    RETURN FLOAT
    IS
    BEGIN
    RETURN 24 * 3600 * 1000 * (NEW_TIME (dt, 'EDT', 'GMT') - TO_DATE ('1970-01-01', 'YYYY-MM-DD'));
    END;
    so when I use this function to generate events after the november 2nd, the hour isn't accurate on the application side because the static usage of new_time with EDT source timezone.
    How can I make this function reliable over time?
    Thanks

    It looks like you are looking for the unix style epoch time:
    This code will give it to you plus allow you to configure the resolution, by default it will return the number of seconds since 1-Jan-1970, but by varying either the scale or precision you can get more or less detail, and you can even change the date epoch date used in the calculation.
    create or replace
    function date_to_epoch(
          p_date timestamp with time zone default systimestamp,
          p_scale number default 1,
          p_precision number default 0,
          epoch timestamp with time zone
              default to_timestamp_tz('1970-01-01 utc',
                                      'yyyy-mm-dd tzr')
      ) return number is
        tmp interval day(9) to second;
        sec number;
      begin
        tmp := p_date-epoch;
        sec := extract(day from tmp)*24*60*60;
        sec := sec + extract(hour from tmp)*60*60;
        sec := sec + extract(minute from tmp)*60;
        sec := sec + extract(second from tmp);
        return trunc(sec*p_scale,p_precision);
      end;Edited by: Sentinel on Aug 28, 2008 3:14 PM

  • ICal reset to January 1, 1970

    My 3GS was repaired recently and when I got it back, iCal was reset to January 1, 1970. How do I change it to the current date?

    Hmm. Not sure what is going on there.
    Try powering it completely off and then on by holding down button on top until it allows you to slide to power off.
    The restore as a new device if necessary(unplug at the new/from backup screen to test before setting up as new.
    Worst case scenario: ask for an out of warranty repair price, if it is out of warranty.
    Articles on how to do these things are on apple website, but my be easier found on Google.

  • I bought an ipod a year ago, and recently when it's plugged to a computer (charger, docks, etc)it charges, but almost everytime that I unplug it it turns off, and when I turn it on again, the battery is in red and the date is january 1, 1970.

    What is the problem  with my ipod? what can I do to solve it, I even restored it once

    Sounds like the battery is dead.  Bu try the following to rule out a software problem:
    - Reset the iPOd
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup
    - Restore to factory defaults/new iPod.
    If still problem your battery is very likely dead.  An appointment at the Genius Bar of an Apple store is in order.

  • How do I stop my I-pod resetting to 1st January 1970 after recharging?

    When the battery charge on my I-pod touch runs down and I recharge, the I-Pod touch resets the date to January 1st 1970. How do I stop this happening? The battery charge doesn't last very long either. Any ideas?
    Thanks

    You can try the following:
    - A reset. Nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup
    - Restore to factory settings/new iPod.
    However, you may just have to not let the battery fully drain.

  • IPhone4 resets alternately, date resets to january 1970, won't reboot without wall charger

    Hi,
    my iphone4 keeps turning itself off alternately,
    it wont reboot unless i hold down the lock button and centre button at the same time,
    or if i plug it in the wall charger then it reboots, showing an apple symbol,
    however it resets the date to january 1st 1970
    and call i recieve\dail do not appear in call logs
    currently the iphone is running ios 4.3.3
    help!
    Regards,
    Mosh

    Try updating to ios5
    Is it jailbroking

  • Business Message Report shows INBOUND Send Time Stamp=01/01/1970: wrong

    Configuration :
    Servers -
    Oracle B2B <-> Apache Proxy Server <-> Shared Network <->Apache Proxy Server <-> WebMethods B2B
    Protocol -
    AS2
    All INBOUND to Oracle B2B AS2 messages from the WebMethods B2B have a "Send Time Stamp" = "     January 1, 1970 12:00:00 AM"
    However, all AS2 MDN's from the WebMethods B2B have the correct "Send Time Stamp".
    And when we test between 2 Oracle B2B's in development, without using a proxy server, the "Send Time Stamp" is correct for AS2 messages and AS2 MDN's.
    My question is where is the "Send Time Stamp" being set ?
    Is it the trading partner, e.g. WebMethods ?
    Is it a proxy server?
    How can we ensure that the "Send Time Stamp" correctly reflects when the trading partner sent the AS2 message ?

    Can you check your infra db timing please? Anyways sending timestamp should not be affected due to this but no harm in verifying.
    Regards,
    Anuj

  • 32 gig touch thinks it's 1970?

    Hi all-
    I just got a 32 gig touch as a present and while I like it a lot, I've noticed that occasionally it changes both the time and the date; suddenly it's 10 pm on January 1, 1970. On one occasion it was suddenly 10 pm on December 31, 1969. Re-syncing fixes it, but I'm curious why this happens all of a sudden. It doesn't affect playback, nor does it seem to set the date/time of the music played to that date, as in iTunes I don't see any tracks that were played in 1969.
    Any ideas?
    Thanks,
    Ilford

    My 16GB has the same problem. Over time, I have figured that it is simply a reset of the settings (what happened to my alarms?). Apparently, it can happen while playing music as well. It works fine until about half battery, which I think is the problem: low battery.

  • Unique ID's in ColdFusion 8?

    What tools are available to create UNIQUE ID's for an application?
    I know in ColdFusion we can use CreateUUID() but this generates a string that is very long.
    What I want to be able to do is create a string of say no more than 6 characters long that can be considered unique for a number of records that could reach the millions.
    For example, the website TinyURL seems to do this quite well with a link like the following:
    http://tinyurl.com/dlz23k
    How do you think they ensure it's uniqu everytime??
    Cheers,
    Mikey

    I've done quite a bit of research on URL shortening due to a customer's desire. After review of 8th grade math (permutations and combinations), there are two solutions to URL shortening. These schemes assume that the URL cannot be recycled and put back into circulation.
    Base 36 - a 6 character URL key consisting of letters a-z and 0-9 for a total of 36 characters, and hence base 36. (26 characters (a-z) and 10 digits). This scheme provides  2,238,976,116 unique URL keys ((36^7-36)/35). Notice, this is case-insensitive. For example, http://foo.com/?ItsMagic and http://foo.com/?itsmagic resolve to the same real URL. If over 2 billion URLs is sufficient, this scheme is for you.
    Base 62 - a 6 character URL key consisting of letters a-z, A-Z, and 0-9 for a total of 62 characters (26 +26 + 10 = 62). This scheme provides 57,731,386,986 ((62^7-62)/61) unique URLs. For example, http://foo.com/?ItsMagic and http://foo.com/?itsmagic resolve to DIFFERENT real URLs. If over 5 billion URLs is sufficient, this scheme is for you. (ref: http://www.bennadel.com/blog/1540-Converting-Numbers-To-A-Character-Set-Based-Radix-Using- ColdFusion.htm)
    Scheme 1 code:
            <!--- number of times to try getting a unique suffix before quiting --->
            <cfset var tries = 10>
            <!--- current number of trys --->
            <cfset var trycnt = 1>
            <!--- flag that suffix is unique --->
            <cfset var isunique = false>
            <!--- try to generate a random url suffix --->
            <cfloop condition="(not isunique and trycnt lte tries)">
                <!--- number of epoch seconds --->
                <cfset epochs = DateDiff("s", "January 1 1970 00:00", Now())>
                <!--- the suffix is a base 36 number --->
                <cfset suffix = FormatBaseN((RandRange(1,100000000) + epochs),36)>
                <!--- make sure this URL key is unique among those already created --->
                <cfset isunique = URLDAO.isURLUnique(this,suffix);
                <cfset trycnt = trycnt + 1>
            </cfloop>
    Scheme 2 code:
    See http://www.bennadel.com/blog/1540-Converting-Numbers-To-A-Character-Set-Based-Radix-Using- ColdFusion.htm)

  • How do I merge two profiles (different time periods) on two computers for one email account, into one profile?

    I have a primary computer which has emails back for several years (Thunderbird). One account is rather important to me and I created it with IMAP on a laptop which I took overseas. When returning, I noted that all of the emails to that date (January 2015) had downloaded onto the laptop Thunderbird for this account.
    When I accessed the primary computer at home, for some reason it cleared every email I had in my profile up to the date I last used the laptop overseas. All the "Inbox.mozmsgs" seem to be there (whatever *they* are) but all the emails prior to January 2015 are gone in Thunderbird.
    What I want to do is copy the profile *for this account only* from my laptop and somehow merge that (pre-January) with the same profile account in my desktop (post-January) so that once again I have the full email history on my primary computer, the desktop.
    I cannot find any explicit instructions on how to accomplish this. I would very much appreciate well thought out assistance. There must be a way - otherwise I will need to set up a virtual machine and create an account on that on my desktop for the pre-January profile, which will be a little tedious).
    Thanks in advance...

    There are two approaches which would work for you.
    # copy the profile folder ********.profile from your laptop to your home computer and use https://support.mozilla.org/en-US/kb/using-multiple-profiles to switch back and forth.
    # export the mail from your laptop to an external medium and then import it to your home computer. There is an add-on to TB which allows import and export of emails in various formats to a separate storage medium (external disk, thumb drive, etc.). The instructions on how to download and install it can be found at http://barryduggan.info/exportMail.php

  • How to get year,month,date from a Date object?

    thanks

    The getTime() method will return the number of milliseconds since January 1, 1970, 00:00:00 GMT. You can then write a number of functions to calculate the date from this.
    The toString() function returns a string with the current value of the object - i.e 2002-10-17 (it's unusual formatting (YYYY-MM-DD) is useful when validating an input in real time, though beyond this, I've no idea why they put it this way around). You can then use string function substirng() to break this down into parts.
    i.e. if your Date object was called today:
    String DD = today.toString().substring()(8)
    String MM = today.toString().substring()(5,2)
    String YYYY = today.toString().substring()(0,4)
    There are other methods (see API) - but these have been deprecated - that means, although they can be used, they are not recomended.
    There is also a Calendar object, though this seems to have the same problems.
    Hope this helps :)

  • How to convert a numeric field representing UNIX time to a standard report

    Looking for some help on the creation of a formula that will allow me to convert a numeric string which represent Unix time to a standard date format.
    Sample string value "1199149200", Jan 1 2008, 1 AM

    Hi,
    Use the DateAdd formula convert Unix epoch to normal datetime (Unix epoch = number of seconds that have elapsed since January 1, 1970).
    DateAdd("s", 1199149200, datetime("01/01/1970 00:00:00"))
    Cheers,
    Fritz

  • Systemd: Suspend and Hibernate not working

    Hi,
    When I try to hibernate my Notebook using systemd with 'systemctl hibernate', it sometimes (from time to time it even works) fails with the error message "a dependency job for hibernate.target failed". In the journal I see the following:
    The system clock has been changed to REALTIME microseconds after January 1st, 1970.
    Jun 04 23:52:57 localhost systemd[1]: systemd-hibernate.service: main process exited, code=exited, status=1/FAILURE
    Jun 04 23:52:57 localhost systemd[1]: Failed to start Hibernate.
    -- Subject: Unit systemd-hibernate.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/li … temd-devel
    -- Unit systemd-hibernate.service has failed.
    -- The result is failed.
    Jun 04 23:52:57 localhost systemd[1]: Dependency failed for Hibernate.
    -- Subject: Unit hibernate.target has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/li … temd-devel
    -- Unit hibernate.target has failed.
    -- The result is dependency.
    Jun 04 23:52:57 localhost systemd[1]: Service sleep.target is not needed anymore. Stopping.
    Jun 04 23:52:57 localhost systemd[1]: Unit systemd-hibernate.service entered failed state.
    Jun 04 23:52:57 localhost systemd[1]: Stopping Sleep.
    -- Subject: Unit sleep.target has begun shutting down
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/li … temd-devel
    -- Unit sleep.target has begun shutting down.
    Jun 04 23:52:57 localhost systemd[1]: Stopped target Sleep.
    -- Subject: Unit sleep.target has finished shutting down
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/li … temd-devel
    -- Unit sleep.target has finished shutting down.
    :x
    Any ideas? Furthermore, during hibernate (when it works) my screen first gets black, the system comes back and only then it really hibernates.
    Others suggest switching to linux-lts. Does that really make sense? Isn't this a systemd issue?
    suspend sometimes fails to work either (screen gets blank, but system weaks up after a few seconds again):
    Jun 05 06:59:14 localhost systemd[1]: Stopping Sleep.
    -- Subject: Unit sleep.target has begun shutting down
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/li … temd-devel
    -- Unit sleep.target has begun shutting down.
    Jun 05 06:59:14 localhost systemd[1]: Stopped target Sleep.
    -- Subject: Unit sleep.target has finished shutting down
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/li … temd-devel
    -- Unit sleep.target has finished shutting down.
    Jun 05 06:59:14 localhost systemd[1]: Reached target Suspend.
    -- Subject: Unit suspend.target has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/li … temd-devel
    -- Unit suspend.target has finished starting up.
    -- The start-up result is done.
    Thanks,
    Michael

    Thanks, but I do not call systemd-sleep manually, I just do the ordinary "systemctl hibernate".
    Unfortunately, the error "A dependency job for hibernate.target failed. See 'journalctl -xn' for details" just happened again. Alas, I'm not able to debug it according to the manual (https://wiki.archlinux.org/index.php/sy … emd_errors). When I try to get the log messages for the PID that causes hibernate.service to fail, I don't see anything suspicious in the logs:
    $ sudo systemctl status systemd-hibernate.service
    systemd-hibernate.service - Hibernate
       Loaded: loaded (/usr/lib/systemd/system/systemd-hibernate.service; static)
       Active: failed (Result: exit-code) since Fri 2014-06-13 14:32:52 CEST; 12min ago
         Docs: man:systemd-suspend.service(8)
      Process: 26712 ExecStart=/usr/lib/systemd/systemd-sleep hibernate (code=exited, status=1/FAILURE)
    Main PID: 26712 (code=exited, status=1/FAILURE)
    Jun 13 14:32:37 localhost systemd[1]: Starting Hibernate...
    Jun 13 14:32:37 localhost systemd-sleep[26712]: Suspending system...
    Jun 13 14:32:52 localhost systemd[1]: systemd-hibernate.service: main process exited, code=exited, status=1/FAILURE
    Jun 13 14:32:52 localhost systemd[1]: Failed to start Hibernate.
    Jun 13 14:32:52 localhost systemd[1]: Unit systemd-hibernate.service entered failed state.
    $ sudo journalctl -b _PID=XXXX
    -- Logs begin at Thu 2013-09-26 16:12:25 CEST, end at Fri 2014-06-13 14:43:40 CEST. --
    Jun 13 14:32:37 localhost systemd-sleep[26712]: Suspending system...
    Any ideas?

Maybe you are looking for

  • How to set standalone model and create local company code

    HI, For  SRM5.0 or 7.0  , how to set standalone model ?,   when I check attribute , the system warn me I must fill company code for BUK.  I have no backend system . thanks a lot Jesse

  • Is it possible to set a finder window to full screen mode,..

    ... like mail, itunes and other apps? and if not, why not? I have to say it took me a bit to get used to Lion, I began complaining all day until I decided to take some time to learn it, and now I like it very much, I see the advantages over 10.6. But

  • Trying to convert from .mts to .flv

    I'm trying out Flash Video Encoder for creating .flv files to add to my web site. My Canon HD HG10 creates .mts video files, which aren't being uploaded when I try to "Add" them. This format is not in the drop-down list. Any suggestions? Scott

  • SSIS error working with Server 2012

    Hi, I have a class library that creates, delete, update ssis packages programatically. What could be the reason for an error message that I get in front of the server 2012. Against a server 2008 It works good. Unable to cast COM object of type 'Syste

  • I can't copy a rent e-book on a reader

    Hi I have Adobe Digital 2,0 on mac and it's works good but when i rent an e-book from the "bibliotheque national", I can read them on my computer but when I drag them on my reader (kobo aura) it said "COPY-NOT-ALLOWED" I put the same user name on my