I'm trying to add 10/60 days to a user defined date but get Jan 10, 1900

I'm creating a form that asks the user to input a date in a date time field (usually it will be the present date or close to it). The users will use the drop-down calendar date picker to choose the date.
This is what I have for the 10 day date field but the output is always January 10 1900. I assume it has to do with epoch but have no clue how to fix this
if 
(HasValue(DateTimeField1))then
Num2Date((Date2Num(DateTimeField1)+10),"EEEE,MMMM D,YYYY")
elsenull
I would appriciate any help I could get.
Thanks!

I got it mostly working by messing with the date format in the script and display pattern plus data pattern in the object control panel.
It seems to be very touchy and different date formats don't seem to play well with each other.  I am not getting EEEE, MMMM D,YYYY working.
I am getting MM/DD/YYY to work which is good but I would rather display the dates with the day if possible. If I use the EEEE,MMMM D,YYYY I still get the January 10 1900.
Thanks for all the help so far!!!

Similar Messages

  • HT201320 i'm trying to add an email account and foolowed on screen directions but after "verifying account" screen i got new account" and no options highlighted but "cancel"  The mail server is our local phone company.  Appreciate any help.

    i'm trying to add an email account and followed on screen directions but after "verifying account" screen i got "new account" and no options highlighted but "cancel"  The mail server is our local phone company.  Appreciate any help.

    Hello there, shallotte07.
    The following iPhone Troubleshooting Assistant should get you through all the steps to set up mail:
    Apple - Support - iPhone - Setting up Mail Assistant
    http://www.apple.com/support/iphone/assistant/mail/http://www.apple.com/support/iphone/assistant/mail/
    Remember that some Service Providers require particular settings, and you may need to contact them directly to acquire that information. Check out the "Email cheat-sheet" section in the information that follows:
    If iPhone can't find your service provider's settings, this article can help you obtain the necessary account settings from your provider.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

  • M trying to add a printer to my extreme network however i only get the basic airport utility screen when I click on airport utility ??? Am I going crazy

    m trying to add a printer to my extreme network however i only get the basic airport utility screen when I click on airport utility ??? Am I going crazy

    OS X Mountain Lion: Set up a printer to print wirelessly
    OS X: Connecting a Wi-Fi printer to your Wi-Fi network

  • I need FM calc. days/months/years between 2 dates but computes the work day

    I need FM calc. days/months/years between 2 dates but computes the work day.
    someone knows ?

    Hi,
    The FM is 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
    Check the following example:
    DATA: EDAYS   LIKE VTBBEWE-ATAGE,
          EMONTHS LIKE VTBBEWE-ATAGE,
          EYEARS  LIKE VTBBEWE-ATAGE.
    PARAMETERS: FROMDATE LIKE VTBBEWE-DBERVON,
                TODATE   LIKE VTBBEWE-DBERBIS DEFAULT SY-DATUM.
    call function 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
      exporting
        i_date_from          = FROMDATE
        i_date_to            = TODATE
      I_FLG_SEPARATE       = ' '
      IMPORTING
        E_DAYS               = EDAYS
        E_MONTHS             = EMONTHS
        E_YEARS              = EYEARS.
    WRITE:/ 'Difference in Days   ', EDAYS.
    WRITE:/ 'Difference in Months ', EMONTHS.
    WRITE:/ 'Difference in Years  ', EYEARS.
    INITIALIZATION.
    FROMDATE = SY-DATUM - 60.
    Regards,
    Bhaskar

  • I am trying to add movies from my Panasonic lumix to I photo but they aren't showing up.  If I try to import into Imovie they also don't show up on the sd card as importable movies.  I am using I photo 9.2 on 10.6.8 and never had a problem before.

    My camera can be set to record as motion JPEG or light AVCHD.  It was set for AVCHD.  Could that be affecting it?  If so, can you think of any way I can load these.  I am trying to add them to an IMovie I started from a different source.

    Stevomacrocket wrote:
    I had this problem.
    The answer is to close iphoto (you might have to force quit iphoto if it starts automatically when you connect the camera or insert the SD card) and open imovie.
    Imovie then presents an import page which easily imports the video into imovie.
    It is a real bad idea to "force Quit" iPhoto - if it has any update activity going on that you interrupt you can corrupt your library an close data or even photos - Force quit should ONLY be used in an emergency where there is no other alternative and you are positive that nothing is going on in iPhoto
    LN

  • HT4913 Trying to add new macbook air to itunes match. process starts but never succeeds. works for a while then give error  about itunes server.

    Trying to add my new Macbook Air to iTunes match. Process starts but goes nowhere. After some time I get error about iTunes server losing connection. Help! I want to access all my music.

    Hi Rob- I'm guessing it has something to do with all the update stuff Apple keeps doing (with Yosemite, etc.,) extremely frustrating - also whenever I load up iTunes on any of my devices- I am asked to enter my passcode- which I will do- then I am asked to do it 2 or 3 more times - right after the other- crazy how annoying something like that can be- I have looked online for solutions- i.e. close out of the account, reset the passcode- all of it- nothing seems to fix that situation either-  what I have discovered (playing around) is on my iPhone 6+ if I go to settings and turn OFF iTunes match- then turn it back ON- suddenly all the music that wasn't loaded shows up magically- but I had to do that each time I'd update songs in my playlist on the iMac- then go to the iPhone and turn off the match- then turn it back on- almost like it is resetting things-

  • I tried to add music from iTunes that it says I puchaced, but it is not located in the puchaced music on cloud

    I Am trying to add some Christmas music to my iPad, and when I searich for the songs I want in iTunes it says they already purchaced. I tried going into the puchaced music tab, but the songs are not there. Can you help?

    Nevermind... They were under hidden purchases in my account

  • I'm trying to install the 30 day free trial onto my desktop but it seems to be freezing up?

    I'm trying to install the 30 day free trial and when I go to install the software it starts to download and then a white bubble appears at the top right of the screen, there's nothing in the bubble. HELP!

    Jeff,
    don't worry about it, it ended up downloading just a little longer than I
    thought! Thanks!
    On Fri, Jan 9, 2015 at 7:28 PM, Jeff A Wright <[email protected]>

  • I have upgraded to Yosemite and tried to launch iPhoto.  It wants to upgrade my library but gets stuck half way through the upgrade.  I have quit and tried again several times but same result.  Can anyone help?

    I successfully upgraded to Yosemite and tried to launch iPhoto.  It wants to upgrade my photo library but gets stuck half way through.  I have quit and tried several times but same result.  Can anyone help?

    download iPhoto Library Manager - http://www.fatcatsoftware.com/iplm/ -  and use the free trial's rebuild command to create a totally new library leaving the existing one untouched for use as needed in the future
    LN

  • Im trying to burn a cd from the playlist on my itouch but it wont work so I tried to add all the songs into a playlist on itunes but not all of the songs on my itouch are on the computer how do i get them on there...btw all of the songs i bought on itunes

    So basically 12 out of the 16 songs showed up on my computer in the music file but I am missing 4 songs and I dont know how to get them off my itouch but I just need to know how to sync all of my songs onto my comouter off of Itunes. And im using a pc if that matters

    Hello DrPerry07,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    Downloading past purchases from the iTunes Store, App Store, and iBooks Store
    http://support.apple.com/kb/ht2519
    Using iTunes 11 or later
    Open iTunes. (You can download the latest version of iTunes.)
    If you're not already signed in, choose Store > Sign In and type your Apple ID and password.
    If you're in the iTunes Store, click the Library button, in the upper-right corner, to go to your library.
    Make sure that you have "Show iTunes in the Cloud Purchases" enabled in your iTunes preferences by going to iTunes > Preferences in the Store tab and clicking OK.
    In your iTunes library, click the content type you wish to download using the content selector in the upper-left. Choose Music to download music, Movies to download movies, and so on.
    Locate the item or title you wish to download.
    Click the download icon to download that item.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    http://support.apple.com/kb/ht1848
    To transfer iTunes Store purchases from your device to a computer, follow these steps:
    Connect your device to the computer. If it is synced with another iTunes library, the following dialog may appear:
    Click the Transfer Purchases button.
    Have a nice day,
    Mario

  • I'm trying to add pictures to my ripped movies in my library but it keeps telling me it can't save the library because there's not enough memory. There is plenty on my hard drive, is there a setting that lets you increase the amount of memory?

    I get a window popping up that says "The library iTunes file cannot be saved. There is not enough memory available.".  I have 980GB free, I don't understand how to change a setting or what ever is causing it.

    Hello Wyodor,
    thanks for your reply on my question.
    You are wright the index file is 308 KB.
    And offcourse that I delete my files and documents is not an Iweb problem, but because my English is not that good, that I thougt I try to tell the whole story, and hope people can read trough the lines.
    Why I didn't use Iweb to upload to the server is because the server company recommanded to use file zilla. And I am a nobody with this kind of things, so I did exactly what they tell me to do.
    No, i did not make a backup of Iweb and the domain file, but reading other messages on this forum showed me that I can maybe try to make empty the cashfile (?)
    and otherwise I have bad luck and have to make my website again. Offcourse I have a lot of examples from all the pages (copied from the local map to my USB stick) and my website is aprox. 15 Mb, (not so big) so it will cost me a few nigths.
    But I'm still hoping on a miracle :-)
    greetings Lasource

  • HT1918 i am trying to add my visa and save the the payment section , but its always said contact itune support.. what can i do now

    also if i want to change the us account to saudi account how can i do that

    also it says contact itune support to continue this transction

  • Cant get add on to work needs a user script and cant get it

    there is ;oads of addvice but findind the user script is the problem

    More information would help, preferably with links. This forum is not really for discussing details of add-ons, you would probably be better trying somewhere like https://forums.mozilla.org/addons/
    What is the add-on you are talking about, and what is the script ?
    * eg are you using [https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/ Greasemonkey]

  • HT201320 Hi, I'm trying to set up my email account on my new ipad but getting an error Cannot get mail. Think I've put everything in correctly but obviously need some help

    Trying to set up email and getting error Cannot get MailUsername or password incorrect. I think everything's correct. Anyone got any other settings I should check?

    Managed to sort it thanks. I had 2 issues. - q
    1 was just case sensitive password
    2 had to set server type to POP
    Now working fine, thanks

  • How to get 1 day less than user entered date

    Hi
    There is a user entry for date. If the user enters 20060427 then the report should run for 20060426. I tried giving 'LT' in the CMOD code. But it gives an error. Can anyone pls help. Is there a function module for this?
    Thanks
    Suja

    Hi Suja,
    You can use Less Than and Greater than for a user entry variable as follows: When you right click > restrict the char, then in the pop up box there is a drop down for Selection. Choose Value Hange here. Then in the drop down to the right you will have values ike Between, Less Than, Greater than...you can select as required.
    Hope this helps...

Maybe you are looking for

  • Macbook sleeping when screen open and wakes on close

    I just repalced a busted screen on my Macbook 13"(white late early 2008) after it had falledn and broken the lcd screen.   Everything went fine and the parts all went back together perfectly and without any uncertainty with teh exception of the small

  • Embedding a flash mp3 player?

    Hi, I'm trying to embed a flash mp3 player in my iweb site. I don't want people to be able to download the files, just listen to them, so Flash seems to be the way to go. Can anyone recommend a resource for learning how to do this? I've found the Fla

  • Cannot activate CS4 serial number

    Is anyone else having problems with activating CS4 serial number. I bought a student version of CS4 recieved my serial number after verifying student status, upon entering the serial number it was rejected, I tried unistalling the application and rei

  • Can not search PDF

    I had a large PDF made for me that I can not search. It is in courier, but the footer is in something else and searches fine. If I search the letter "ne" for instance, which are right in front of me, it will highlight numbers in an address in the foo

  • Programs wont open after reinstall

    Just last night i was working on my Mac. I had downloaded some updates and shut it down. Later on that night, i went to log onto my Mac and it would just load forever and never go anywhere else. So i put in the disk utility and saw that the startup f