Sie sind auf Seite 1von 2

26/02/13

SAPTechnical.COM - Date conversions in XI / PI

26/02/13 SAPTechnical.COM - Date conversions in XI / PI Search Home • Quiz • Tips •
26/02/13 SAPTechnical.COM - Date conversions in XI / PI Search Home • Quiz • Tips •
Search
Search
Jobs • Testimonials • Advertise • Contact Us ABAP QUIZ 5 NEW Tips Categories: ABAP T

Tips Categories:

What's New?

What's Hot?

www.morenobuenosaires.com

Desayuno Continental y Terraza con Jacuzzi.Realice su Reserva On Line!

y Terraza con Jacuzzi.Realice su Reserva On Line! Universidad de San Andrés udesa.edu.ar Excelente Nivel.

udesa.edu.ar

Excelente Nivel. Encontrá la Info y Programas de Posgrados Acá.

Nivel. Encontrá la Info y Programas de Posgrados Acá. Date conversions in PI/XI By Pravesh Sharma,

Date conversions in PI/XI

By Pravesh Sharma, CSC

The standard function DateTrans has the capability of not only converting date in to numeric formats and vice versa, but also can convert the month to a string representation.

Following is the format conversion of the month value in the function.

Pattern

The DateTrans function not only can convert the ddMMyyyy to any other numeric format

but also can convert the month to a string representation using the patterns for month.

Following is the format conversion of the month value in the function.

Pattern

Description

MM

Represent month in numeric format like 01,02,03

MMM

Represent month in string format with a limitation on 3 character like Jan

MMMM

Represent month in a complete string format like January, February

Here is a screen shot of how a month can be converted into string representation within a

date.

can be converted into string representation within a date. 12/04/2009 Input: dd/MM/yyyy 12-Apr-2009 Output:

12/04/2009

Input: dd/MM/yyyy

12-Apr-2009

Output: dd-MMM-yyyy

10/05/2009

Input: dd/MM/yyyy

May09

Output: MMMMyy

June-23-2009

Input: MMMM-dd-yyyy 23-06-2009

Output: dd/MM/yy

www.opc-to-sap.com

Automatically create SAP measuring docs via OPC. No programming req'd.

26/02/13

Join the Mailing List

Enter name and email address below :

Name:

Join the Mailing List Enter name and email address below : Name: Email: Subscribe Unsubscribe GO

Email:

Subscribe Unsubscribe GO
Subscribe
Unsubscribe
GO

SAPTechnical.COM - Date conversions in XI / PI

GO SAPTechnical.COM - Date conversions in XI / PI Please send us your feedback/suggestions at

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM

©2006-2007 SAPTechnical.COM. All rights reserved. All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries. Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards