How can I subract a number of days from the sysdate() ?

I need to display a date that is a certain number of days older than the current date.
I tried <?xdoxslt:sysdate('yyyy-MM-dd') - 7?> but I get an error.
Any suggestions would be appreciated.

I coded this:
test date : <?xdoxslt:ora_format_date_offset(xdoxslt:sysdate(),7, '-')?>
I got this:
test date : 110908 -- today's date, no offset.
What did I do wrong?
I got it to work using <?xdoxslt:sysdate() - 7?> (I removed the formatting from the sysdate), but the date format is 110901, not the most common for displaying purposes.
Any useful hints on how to format the resulting date?

Similar Messages

  • I had over 200 e-mails.  I went to my webmail and deleted most of them.  However, my iPhone still shows 200 e-mails.  How can I force my iPhone to update from the e-mail server?  Or will I have to delete each e-mail from my iPhone as well?  Thanks.

    I had over 200 e-mails.  I went to my webmail and deleted most of them.  However, my iPhone still shows 200 e-mails.  How can I force my iPhone to update from the e-mail server?  Or will I have to delete each e-mail from my iPhone as well?  Thanks.

    You may have to try deleting all the music from your phone (by going to Settings>General>Usage>Music, swipping All Music and tapping Delete), then sync it all back on with iTunes in order to fix this.

  • I have 2 Macs - an iMac that holds my entire iPhoto library and a Mac Book Pro that I use to hold a subset of the main library - how can I transfer photos and their metadata from the main library of the iMac to my Mac Book?

    I have 2 Macs - an iMac which holds my main iPhoto library and a Mac Book Pro which holds a subset of the library. How can I transfer photos and their metadata from the main library to the smaller 1 on the Mac Book Pro?

    Link the two Macs together and use iPhoto Library Manager
    Regards
    TD

  • HT204266 How can I remove my credit card information from the app store?

    How can I remove my credit card information from the app store?  I would like to have an account without the credit card information.
    I would like to put in my credit card only when I am ready to purchase. 

    On your computer's iTunes you should be able to edit your payment info by going into the Store > View Account menu option and logging into your account, and on your account's details page there should be a payment link.  If you are doing it on your phone then tap on your id in Settings > iTunes & App Store and tap 'View Apple ID' on the popup - that should also give you a payments link on your account's page.
    Changing payment info : http://support.apple.com/kb/HT1918
    If you don't get the 'none' option on the payment details screen then do you owe iTunes anything or have any pre-orders/subscriptions due : http://support.apple.com/kb/TS5366 ?

  • My iPhone is stolen. How can I get my address book back from the iCloud? I should have synchronized my iPad address book. However, I loss some recent contacts from iPhone.

    My iPhone is stolen. How can I get my address book back from the iCloud? I should have synchronized my iPad address book. However, I loss some recent contacts from iPhone.

    I use my iPad to get the address book backed up by iCloud from my iPhone. However, I cannot see the recent new contacts from my iPad. Is there anyway to check the iCloud server to see if my address book backup from my iPhone is still there?

  • I'm retiring my old computer (windows xp) to a new computer (windows 7). How can i easily move my itunes music from the old computer to the new computer? i have my playlists organized in my old computer, i would like it to stay that way in my new computer

    i'm retiring my old computer (with windows xp) and bought a new computer (with windows 7). How can i easily move my itunes music from the old computer to the new computer? i have my playlists organized in my old computer, i would like it to stay that way in my new computer. I also have my ipods, iphone sync'd in the old computer so i want to make sure that things won't get messed up (my apps, playlists, etc) when i move over everything to the new computer and sync all my devices with the new computer.
    Thanks in advance for the tips.

    Make sure the XP box is upgraded to the latest version of itunes. Also make sure it's using the itunes media folder layout as explained here, because that's what the W7 is going to be using.
    http://support.apple.com/kb/HT3847
    Install itunes on the new W7 PC.
    Get these folders from the XP machine
    C:\Documents and Settings\username\My Documents\My Music\iTunes
    C:\Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    And put them here on the W7 machine
    C:\users\username\My Music\iTunes
    C:\Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\

  • My apple id is set on France app. Store, how can I buy or rent a movie from the American store??!

    My apple id is set on France app. Store, how can I buy or rent a movie from the American store??!

    You are very welcome.  I lived in France for a couple years and wish I could buy books from the French bookstore but cannot so am very familiar with this issue.
    Part of the problem is concerned with international copyright laws.

  • How can i do to upload my movies from the ipad to the i cloud?

    How can i do to upload my movies from the ipad to the i cloud?

    If these are videos taken with your iPad, you can only add them to iCloud by adding them to a shared stream, as discussed here: http://help.apple.com/icloud/#/mmc0cd7e99.
    If these were movies purchased from the iTunes store, they are already in iCloud and can be redownloaded again in many countries for free as long as the movie is still available and the studio allows it.  See http://support.apple.com/kb/HT2519 and iTunes in the cloud availability by country here: http://support.apple.com/kb/HT5085.
    To be safe, import them to your iTunes library so you know you have them.  To do this, connect your iPad to your computer, open iTuens and go to File>Devices>Transfer Purchases.  Then you can sync them back to your iPad later if you ever need to.

  • How can I get my Aperture library back from the Photos application?

    As stated above, How can I get my Aperture library back from the Photos application?  I'm not a fan of Photos right now and haven't used iPhoto in years, so that wasn't a loss... I didn't realize when I gave Photo's access to my Aperture library, I was going to lose it...
    I want to get it back, any suggestions?
    Thanks again!
    MacTeacherMN

    what means ..."Once you open the Aperture library back into Aperture..."? What do I need to "klick" in order to getting back my old Aperture Project structure....

  • How can I get help for ADE downloads from the public library.   I am suddenly getting error messages

    How can I get help for ADE downloads from the public library.  It worked for years and now I am getting error messages.   I cannot find any practical help

    If you are trying to open the book on a device, try using the latest DL Reader on Android and iOS
    https://play.google.com/store/apps/details?id=com.datalogics.dlreader&hl=en

  • How can I remove apps no longer wanted from the cloud

    How can I remove apps no longer wanted from the cloud? they are not used any more and taking up space.

    Welcome to the Apple community Mickeymom.
    The apps are not actually in your iCloud storage, they are links to the apps in the App Store. What you are seeing is your purchase history and as such cannot be deleted.
    You can however hide your purchases, which you can do from the QuickLinks > Purchased option from the main page in the iTunes Store on your computer.

  • My CD plyer is not working. How can i download Adobe creative suite 6 from the website

    my CD plyer is not working. How can i download Adobe creative suite 6 from the website

    Hi Jay,
    Please refer the following download page for CS6.
    https://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
    Hope this helps.
    Regards,
    Sumit Singh

  • How can I move Whatsapp or google   photos from the camera roll to a different folder

    How can I move Whatsapp or google   photos from the camera roll to a different folder

    How can I move Whatsapp or google photos from the camera roll to a different folder
    The only way to remove photos from the Camera roll is to delete them. You cannot move them directly from the Camera roll to another album.
    Sync the photos to your computer, remove them from iPhone and resync the photos to your iphone.
    See this -> iOS: Importing personal photos and videos from iOS devices to your computer

  • How can I see songs on my iPod from the new iTunes

    How can I see songs on my iPod from the new iTunes.  I used to be able to easily manage manually my music I cannot seem to find how to view music anymore although I figured out how to manually transfer.

    iTunes: Syncing media content to iOS devices and iPod

  • How can I select more than one song from the search results?

    I want to create playlists based on certain words in the song title. For example, I may want to create a playlist of all my songs with LOVE in the title.
    Doing the search is easy, but I can't select more than one song at a time. Is there any way in iTunes 12 for Windows to do this? I found an answer in iTunes for Mac, and it basically says to "un-check "Search Entire Library." " but I don't see that option in iTunes for Windows.
    Here is the link to that question: how can i select more than one song from drop down search bar
    I hope some Windows user can help me out.

    Found the "Search Entire Library" option - click on the small (VERY small for my eyesight) down arrow next to the magnifying glass. Also need to select "Filter by: Songs", and then the songs in the main window show the results.
    I'm going to leave this up on the board because 1) in case someone else has this question, and 2) I don't know how to delete it anyway.

Maybe you are looking for

  • SA 540 Security Appliance

    Hello All, I have problem with this device. I have some file servers that i need to protect. These file servers have public ip's. (12x.x.x.x) SO i have configured an available public ip on the WAN interface(129.x.x.x) and i have turned off the DHCP o

  • Connecting iPod video to Blaupunkt car stereo

    Blaupunkt sells an adapter to connect iPods to their car stereo. Part number: 7607540500. It is compatible with the factory (Blaupunkt sourced) car stereo of my Fiat Panda model year 2005. The car stereo 'sees' the iPod as a Blaupunkt CD changer. It

  • Please help me to download Photoshop Elements 12 which I purchased this evening but failed to downlo

    I purchased Photoshop Elements 12 this evening but failed to download successfuly. Help?

  • Why do the maps app bookmarks are erased every time I switch to another app?

    I am encountering several problems with the new maps application which are not related to the mapping data itself. My problems are: Every bookmark I keep dissapears after a while (mostly after I switch to another app, but sometimes it takes a little

  • Stock Category Changes

    Hi In Decentralized Warehouse management system, can we use VLMOVE transaction to change stock categories from U/R to Quality or from Quality to Blocked and so on. If yes, how will the stock category changes replicated in the inventory management in