Sharepoint xsl ddwrt FormatDateTime issue
        Posted  
        
            by mahumba
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by mahumba
        
        
        
        Published on 2010-04-08T17:29:53Z
        Indexed on 
            2010/04/08
            17:33 UTC
        
        
        Read the original article
        Hit count: 1305
        
I use the ddwrt:FormatDateTime function to format the output like yyyyMMdd. inputs like 01/01/2010 work fine but when the day gets over the number 12 the output is an emtpy string.
ddwrt:FormatDate(string(@myDate), 1033, 'yyyyMMdd')
At first I thought it could be a language specific problem but even none of those combinations work:
13/01/2010
01/13/2010
13.01.2010
© Stack Overflow or respective owner