Add-dayTimeDuration-to-dateTime not working just before format-dateTime

Hi,
I am using format-DateTime function just after add-dayTimeDuration-to-dateTime function in XSLT mapping.
But the response coming doesnot providing the result of add-dayTimeDuration-to-dateTime function.
When I use both the functions individually then both works fine.
Please let me know any solution for this.
Thanks

Hi Arpit,
Can you try converting the output of add-dayTimeDuration-to-dateTime to string, before passing it to format-DateTime.
Also can you post your piece of xslt that you are trying to work out with an example.
Please do mention what exactly you are trying to do.
I have tried this and its working fine.
<xsl:value-of select="xp20:format-dateTime(string(xp20:add-dayTimeDuration-to-dateTime(xp20:current-dateTime(),'PT15S')),'[D01]/[M01]/[Y0001]')"/>
Please let me know if this helps.
Thanks,
Deepak.

Similar Messages

  • Add new document link not working in upgraded sharepoint 2013?

    Hello there,
    Upgraded SharePoint team sites from 2010 to 2013. add new document link not working for shared document in upgraded sharepoint 2013?. it is specially not working on machine where Office web apps set up with this sharePoint server and it
    is working fine with environment  Office web apps not configured with Sharepoint.
    Looking resoluion /suggestion, thanks in advance.
    Regards,
    Sushil

    Hi  Sushil,
    According to your description, my understanding is that the add new document link was not working on machine where Office web apps set up with this SharePoint server after you upgraded SharePoint team sites
    from 2010 to 2013.
    For your issue, it can be caused by integrating Office Web Apps with upgraded SharePoint Site.
    Firstly please make sure claims-based authentication is used by the SharePoint web application that is used to create the new document. Only web applications that use claims-based authentication can open
    files in Office Web Apps. To determine the authentication provider for a web application, follow these steps:
    1.In SharePoint 2013 Central Administration, click Manage web applications.
    2.Select the web application that you want to check, and click Authentication Providers on the ribbon.
    The authentication provider must be displayed as Claims Based Authentication for Office Web Apps to work correctly with the web application. To resolve this issue, you can delete the web application and recreate
    it using claims-based authentication, or you can change the authentication method of the web application.
    Secondly, make sure the WOPI zones match on the SharePoint 2013 and the Office Web Apps Server farm.
    To do this, run the following command on the SharePoint Server:
    Get-SPWopiZone
    The result will be one of the following:.
    internal-https
    internal-http
    external-https
    external-http
    Next, run the following command on the SharePoint Server.
    Get-SPWOPIBinding
    In the output, look for WopiZone: zone. If the results from Get-SPWopiZone don’t match the zone that is returned by Get-SPWOPIBinding, run the Set-SPWOPIZone -Zone cmdlet on the SharePoint Server to change
    the WOPI zone to match the result from Get-SPWOPIBinding.
    If not work, you can try to disconnect SharePoint 2013 from Office Web Apps Server and re-configure Office Web Apps for SharePoint 2013.
    For more information, please refer to the article:
    http://technet.microsoft.com/en-us/library/ff431687(v=office.15).aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • I download the new IOS7 in my iPad beeing in the usa And where I come back to my country appears me again to upad te my iPad of ferina the IOS 7. I did it my iPhone And is not working as before.what i must do

    I download the new IOS7 in my iPad beeing in the usa And where I come back to my country appears me again to upad te my iPad of ferina the IOS 7. I did it my iPhone And is not working as before.what i must do

    I'm sorry, but I do not understand what you are asking or saying. Perhaps you could clarify a little bit.

  • I have just downloaded Lion and my AverTv Molar will not work, just comes up can not find device can anybody help please

    Hi, I have just downloaded Lion, and my AverTV Volar M will not work, just come up can not find device can anybody help please.

    Contact the manufacturer's tech support for help. Most likely it needs a compatible driver.

  • My mini iPad is now not working . just showing iTunes sign and to connect to usb cable.

    my mini iPad is now not working . just showing iTunes sign and to connect to usb cable. I have done that buy macbook is not discovering iPad as a device.  Any ideas ?

    If you can’t update or restore your iOS device
    http://support.apple.com/kb/ht1808
    iPad Stuck in Recovery Mode after Update
    http://www.transfer-iphone-recovery.com/ipad-stuck-in-recovery-mode-after-update .html
    iPad not appearing in iTunes
    http://www.apple.com/support/ipad/assistant/itunes/
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/TS1591
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    iTunes for Windows: iTunes can’t contact the iPhone, iPad, or iPod software update server
    http://support.apple.com/kb/ts1814
    iTunes for Windows: Device Sync Tests
    http://support.apple.com/kb/HT4235
    IOS: Syncing with iTunes
    http://support.apple.com/kb/HT1386
    Apple - Support - iPad - Syncing
    http://www.apple.com/support/ipad/syncing/
    iTunes 10.5 and later: Troubleshooting iTunes Wi-Fi Syncing
    http://support.apple.com/kb/ts4062
    iOS: “Not enough free space” alert when trying to sync
    http://support.apple.com/kb/ts1503
    You may need to delete iTunes on your computer and then reinstall.
    How To Completely Uninstall and Remove All Traces of iTunes
    http://zardozz.com/zz/2008/04/how-to-completely-uninstall-and-remove-all-traces- of-itunes.html/
    Wi-Fi Sync Not Working? Here’s How to Fix it for All iOS Devices
    http://osxdaily.com/2013/02/17/wi-fi-sync-not-working-fix-ios/
     Cheers, Tom

  • After download ios5 my iPhone dose not  work like before why?

    After download ios5 my iPhone dose not  work like before why?
    i have iphone 3gs

    OK this is the issue after download ios5 my phone goes crazy like when i turn on my 3G i can`t  call someone and i cant even check my email i don't know why ...so after all this problem i have to turn 3G off and than call to my friend so why it work like this ?
    i restore my phone ...i restore as a new phone but still i have the problem ....

  • I got iPhone4 and safari and mail not working just blank screen appear

    I Got iphone4 after update to 6.1.3 YouTube,safari,and mail not working just appear blank screen wen i try any of thease app anybody can help me thank

    tried
    http://www.apple.com/support/iphone/assistant/phone/#section_1

  • BBz10 internet add to home screen not working !!!

    the option to add to home screen is not working, when i choose this from the options it says added to homescreen after saving, but not showing icon on home screen, can anyone help please.
    Solved!
    Go to Solution.

    Just found this on Crackberry.com and it finall worked for me...
    "I also have the same problem as you. I can't find any solution to fix this. But today, when I try to add bookmark to home screen again, there should be a pop dialog "Added to home Screen". When it pop up, just immediately tap that pop up dialog. And the my home screen can show the bookmark. After that, I do not need to do this again. Seems it is fixed. I think th is really unreasonable. But it really works for me. Please let me know if this work on others of you."
    Just gotta be quick to tap the "Added..." message box before it disappears.

  • Add user to group not working

    Logged in as Portal, i'm able to create user and user group thru Administer tab.
    however, when i tried to add user member (search and select from user list) to the newly created group, its seems doesn't work (which was working fine before :| )...
    it just takes me back to edit group page without adding the user...
    any help would b appreciated :)
    Fara

    This is an issue with IE. It is a bug that has existed since release 2 of the portal. If you do the exact same thing in Netscape (or any other browser), you will be able to add the user to the group without any problems. Amazing how Oracle continues to not fix obvious bugs with each new release.

  • MAX DateTime Not working

      SELECT MAX(DateTimeAdded) OVER(PARTITION BY PatientID ORDER BY DateTimeAdded)as DateTimeAdded
        FROM ClinicalVitalGroup CVG_D
    Msg 156, Level 15, State 1, Line 1
    Incorrect syntax near the keyword 'OVER'.
    Why is this not working???

    GROUP BY looks for unique value combinations of entire columns specified, so when you add one more column the column combination changes and it looks for the unique combination of all columns together. So combination of values for PatientID and
    ClientVitalGroupID  will still be unique though if you look at PatientID individually you
    may see duplicates.
    See this small illustration to understand it
    declare @t table
    Col1 int,
    Col2 int,
    Col3 varchar(10)
    insert @t
    select 1,2,'Test' union all
    select 1,3,'qwerty' union all
    select 1,3,'blah blah' union all
    select 1,4,'jbj' union all
    select 2,6,'jkhk' union all
    select 2,8,'kkjkl' union all
    select 2,8,'kljklj' union all
    select 2,11,'kklljl'
    select Col1,COUNT(*) AS Cnt
    from @t
    group by Col1
    The above code will return just two records as you've only two unique values for COl1 field (1 and 2)
    See output below
    Col1 Cnt
    1 4
    2 4
    Now add col2 also to group by and see
    You will get 6 records as there are six unique combinations for Col1 and Col2
    ie (1,2),(1,3),(1,4),(2,6),(2,8),(2,11)
    see
    declare @t table
    Col1 int,
    Col2 int,
    Col3 varchar(10)
    insert @t
    select 1,2,'Test' union all
    select 1,3,'qwerty' union all
    select 1,3,'blah blah' union all
    select 1,4,'jbj' union all
    select 2,6,'jkhk' union all
    select 2,8,'kkjkl' union all
    select 2,8,'kljklj' union all
    select 2,11,'kklljl'
    select Col1,Col2,COUNT(*) AS Cnt
    from @t
    group by Col1,Col2
    The output is
    Col1 Col2 Cnt
    1 2 1
    1 3 2
    1 4 1
    2 6 1
    2 8 2
    2 11 1
    If you analyze any one column again (Col1 or Col2) in above output you can see the value duplicating as GROUP BY just ensures the
    full combination of values being unique rather than the individual values themselves
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • After migrating Firefox 22 to new imac 10.8.4, quicktime not working as before?

    I just bought a new imac (late 2012- 10.8.4), After migrating everything from my old imac (Early 2008 - 10.6.?), the video on my business website is no longer showing as before. (See: http://www.abhyasayogacenter.com). All the software in question is updated to the latest versions. I am wondering why the same software that was working on my previous computer is not working the same on the new one. And more importantly, is there a compatibility issue here with web page code. Everything was working on the latest version of Firefox 22 on my other computer. Why wouldn't it be working the same on my new computer? Is this true for all new imacs or just mine?

    Hello,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state '''while saving your essential information'''.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • I have a few important add-ons that will not work, yet, with Firefox 4. How easy is it for me to downgrade to 3.6 temporarily until these issues have been resolved?

    I really need to downgrade to the previos Firefox version just until a couple of add-ons have been upgraded. How easily can I do this without losing my current settings?

    There is no guarantee that the add-ons that currently do not work with Firefox 4 will ever be updated, they may have been discontinued.
    To downgrade to Firefox 3.6 first uninstall Firefox 4, but do not select the option to "Remove my Firefox personal data". If you select that option it will delete your bookmarks, passwords and other user data.
    You can then install the latest version of Firefox 3.6 available from http://www.mozilla.com/en-US/firefox/all-older.html - it will automatically use your current bookmarks, passwords etc.
    To avoid possible problems with downgrading, I recommend going to your profile folder and deleting the following files if they exist - extensions.cache, extensions.rdf, extensions.ini, extensions.sqlite and localstore.rdf. Deleting these files will force Firefox to rebuild the list of installed extensions, checking their compatibility, and reset toolbar customizations.
    For details of how to find your profile folder see https://support.mozilla.com/kb/Profiles

  • Bluetooth is not working like before Ios 4.0 on 3GS

    Since i have the update from soft 3.x to 4.0 i have problems in my car to connect to the Car Bluetooth Car-Kit.
    I have a original BMW bluetooth Car-Kit wich was working perfect.
    Since the update to version 4.0 most of the times it would not connect automaticly with the Car. so the connection is not always there.
    After a little bit of pressing settings (bluetooth) on the phone the connection is made.
    I am affraid to update again to the newer one 4.01 because maybeit will not working anymore.
    Before the update to 4.0 there was no problem at all , everytime when in the car the connection was made automaticly without any problems. Now it is 2/10 auto connected.
    Already removed the connection and paired it . but the result is the same. No stable automatic connection. Once connected there is no problem until next Car-Ride.
    Anyone with a solution ?
    Thx
    Dcaub

    Thanks for your response ... yeah that's exactly what I wound up doing and it worked. Man what a nasty upgrade this has been.
    Didn't expect to have to do a full restore of the iPOD. Of course that takes all the personal settings you made and nuked them back to the factory settings plus the latest system upgrade ... but hey ... it solved the problem. Wonder what's next?

  • Add to Address Book not working in mail.app

    On all my computers : MacBook Air and Mac Mini, the Add to Address Book (command + Shift + Y) is not working in Mail.app.
    It doesn't add the email and name in the Address Book (now called Contact).
    Is this a broken link ?
    Best. StG

    Hey Saint-Georges -
    I've got the same issue in the console.  I didn't notice the keyboard shortcut not working but that's happening to me as well.  
    I've gone gone through and repaired the disk and disk permissions.  Still no luck.
    Hopefully someone has a fix.
    Rob
    From the Console:
    6/3/13 5:27:53.922 PM assistantd[4667]: <Error>: Daemon - Sync chunk denied! Canceling sync. [SASyncChunkDenied
      aceId: "26234165-b039-4219-af4d-8f4fa5561ebd"
      properties:
        callbacks: <empty array>
        errorCode: 0
      group: "com.apple.ace.sync"
      refId: "3274A842-6638-4E54-AFB3-F669BCCED462"
      v: "1.2"
      class: "ChunkDenied"]

  • Right-click add to Playlist shortcut not working in iTunes 11.1

    Since upgrading to itunes 11.1 I find that the right-click> Add to Playlist option is not working. I go through the steps but the selected song is never in the playlist I selected. The only workaround I found is to Edit the Playlist and then drag and drop songs to the playlist. Selecting songs from another already existing playlist? Forgot about it!
    Is this a bug? Is there a setting somewhere I am missing? This is really annoying as this is how I built my playlists for years. Two days ago I spent a half hour right-click and adding to playlist only to find the list was empty after all my work. (And I really wouldn't have to be doing this if the stupid upgrade hadn't blown away all my playlists in the first place). Sigh.

    did you get this fixed? I have the same problem - thanks for saving my bacon though with the edit playlist tip
    Apple, please make this easier - it used to be dead simple with tunes on the right of the playlist lists and you'd drag, now, seeing playlists and songs at the same time is a pain, you have to use to edit option or the NOT WORKING right click method.  Is this fixed in a later version? I have v11.05 - I am fed up of keep upgrading at 80Mb a go and 20 minutes out of my life hence, I am not up to the most recent.  If it still is a problem with the latest, I'll have to wait til the next
    Thanks, Matt

Maybe you are looking for

  • A generic error occurred in GDI+ while assing tiff image file to Bitmap and Image

    Hi, I am getting "A generic error occurred in GDI+" error while reading the tiff image file to Bitmap or Image. Below is my sample code. string filePath=@"c:\Images\sample.tif"; Bitmap bmp=new Bitmap(filePath);   // here getting exception int totalpa

  • Airport KPs in Leopard!

    Just got my copy of Leopard and, unfortunately, I keep getting the same Kernel Panic. If i recall correctly, in all of the instances I had my USB WD External connected and all or most of the following apps running: -Azureus -Parallels -Firefox -NetNe

  • Time machine backup on external firewire drive is not seen by restore or migration assistant

    Hi, today the harddrive on my Aluminium iMac gave up the ghost. I have been backing up my system using time machine, so I wished to restore it. To my great annoyance I found that neither the restore option in Lion's installer nor the migration assist

  • How can I get my iPod to connect to the app store again?

    Hi, my iPod touch 4th generation is not connecting to the app store. I put an app i would like to get and it loads for a few minutes and then says cannot connect to app store. Does anyone have any ideas of what I can do?

  • SQL Pivot help

    Hello, I have the following pivot that's working properly. It's adding up purchases into monthly time frame columns.  Is there anyway to add a second column called [redemptions]?  Ideally, I want it to sum up monthly purchases,  monthly redemptions,