IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Changing Date Separator
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Platinum Member
Posted
I need to have the date separator to be a "/" instead of a "-" in a datetime field.

TABLE FILE FILE1
STDVALUEEFFECTIVEDATE
COMPUTE TEMP3/HMDYI = STDVALUEEFFECTIVEDATE;
END

Result:

STDVALUEEFFECTIVEDATE TEMP3
2004-10-01 06:00:00 10-01-04 06:00

I need the format to be 10/01/04 06:00

Thanks in advance.


WebFOCUS 7.6.2, Win 2003, Tomcat, IIS6
Usage: HTML, PDF, Excel, Self-serve, BID and MRE
 
Posts: 170 | Location: Roseville, CA | Registered: January 24, 2005Reply With QuoteEdit or Delete MessageReport This Post
Master
Posted Hide Post
It could be your setting of DTSTANDARD.

A setting of ON/STANDARD/STANDARDU gives ISO compatability and uses the '-' as a date seperator.

Try issuing SET DTSTANDARD=OFF to get the '/' in the date portion.


Alan.
WF 7.6.5, PMF 5.1, MRE,RA,RG, etc... Win2003(8xQuad)/IIS/Tomcat with SSL and AD security.
 
Posts: 848 | Location: Portugal | Registered: February 07, 2007Reply With QuoteEdit or Delete MessageReport This Post
Platinum Member
Posted Hide Post
Thanks Alan, it worked!


WebFOCUS 7.6.2, Win 2003, Tomcat, IIS6
Usage: HTML, PDF, Excel, Self-serve, BID and MRE
 
Posts: 170 | Location: Roseville, CA | Registered: January 24, 2005Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Changing Date Separator

Copyright © 1996-2008 Information Builders, leaders in enterprise business intelligence.