EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB45377: How to export a report to Plain Text with a custom short date format applied on a autotext of date from MicroStrategy Web Universal accessing MicroStrategy Intelligence Server Universal running on Windows Server 2008 64-bit


Community Admin

• Strategy


How to export a report to Plain Text with a custom short date format applied on a autotext of date from MicroStrategy Web Universal 9.3.x accessing MicroStrategy Intelligence Server Universal 9.3.x running on Windows Server 2008 64-bit

 
SYMPTOM:
Let's suppose that a report is exported to Plain Text format with a autotext  of date (in this example, {@ExecutionDate} is used) in the header. This autotext field is exported with the MM/DD/YYYY format; however, the desired date format is YYYY-MM-DD:
  

ka04W000000OguFQAS_0EM4400000029Ul.png

                             
 
 
STEPS TO REPRODUCE:
1.   In Strategy Web, export a report selecting the Plaint Text format:
        

ka04W000000OguFQAS_0EM4400000029Ur.png

 
2.   Click on Edit Customer Settings…:
            

ka04W000000OguFQAS_0EM4400000029Uh.png

  
3.   Insert the autotext of date into the Header section and then click on the Apply button:
             

ka04W000000OguFQAS_0EM4400000029Ug.png

  
4.   Click on the Export button and open the exported file in a text editor to confirm that the Execution Date value format is MM/DD/YYYY:
           

ka04W000000OguFQAS_0EM4400000029Uf.png

 
 
 
 
 
 
 
CAUSE:
Strategy uses the Short date format configured in the Windows Server 2008 64-bit instance that hosts the Strategy Intelligence Server.
 
 
ACTION:
To change the date format for the autotext fields, follow these instructions:
1.     Go to Start Menu -> Control Panel >> Regional and Language Options:

ka04W000000OguFQAS_0EM4400000029Ue.png

2.     Click on Customize this format...:
 
3.     Select the desired Short date format and then click on OK:
       

ka04W000000OguFQAS_0EM4400000029Un.png

       
 
4.   Restart the Strategy Intelligence  Server services
 
 
 
5.   Finally, go back to Strategy Web and  export the referred report to confirm that the short date format is YYYY-MM-DD:
             

ka04W000000OguFQAS_0EM4400000029Uj.png

 
 
NOTE:
For additional information on how to change the date format in Windows 7, refer to the Strategy technical note:

  • KB45183: Date is displayed with the format MM/DD/YYYY instead of DD/MM/YYYY in MicroStrategy 9.x running on Windows 7

Comment

0 comments

Details

Knowledge Article

Published:

June 8, 2017

Last Updated:

June 8, 2017