Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Date conversion

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Date conversion
 Login/Join
 
Silver Member
posted
Hi All,

STOP_PYMT_LOC_DT-- >> M/D/YY-->> 07/21/2015
STOP_PYMT_LOC_TM--->> HH:MM:SS format

Need to concat these two fields to get the TS,

YYMD HH:MM:SS format

Can anyone please suggest for this.

Thanks in advance..!!!

Regards,
User1

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 8
Windows, All Outputs
 
Posts: 37 | Registered: September 05, 2015Report This Post
Virtuoso
posted Hide Post
In a DEFINE block, create a new virtual field that concatenates the two. Something like:

DEFINE FILE xyz
create any format conversion fields necessary here, then do something like: 
TIMESTAMP/A20=STOP_PYMT_LOC_DT | ' ' | STOP_PYMT_LOC_TM;


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
 
Posts: 1113 | Location: USA | Registered: January 27, 2015Report This Post
Silver Member
posted Hide Post
Hi,
Thanks for this...!!

Before concatenating i need to convert the date and time into alphanumeric format separately,not able to convert into alphanumeric format.

Is there any function available to convert date into alpha and time into alpha.

Thanks,
User1

This message has been edited. Last edited by: User1,


WebFOCUS 8
Windows, All Outputs
 
Posts: 37 | Registered: September 05, 2015Report This Post
Virtuoso
posted Hide Post
You will have to convert things first.

See:
CONCAT docs


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
 
Posts: 1113 | Location: USA | Registered: January 27, 2015Report This Post
Silver Member
posted Hide Post
Hi,

Could you please tell me the functions which converts date to alpha and time to alpha.
Thanks,
User1


WebFOCUS 8
Windows, All Outputs
 
Posts: 37 | Registered: September 05, 2015Report This Post
Virtuoso
posted Hide Post
See the following links to get you going:

DATECVT

HCNVRT

HTIME


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
 
Posts: 1113 | Location: USA | Registered: January 27, 2015Report This Post
Guru
posted Hide Post
Don't forget my new favorite

FPRINT

It works from multiple formats to alpha


WebFOCUS 8.2.03 (8.2.06 in testing)
 
Posts: 253 | Location: Melbourne, Australia | Registered: February 07, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Date conversion

Copyright © 1996-2020 Information Builders