Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

date convertions

Former Member
0 Likes
605

how to convert 21.04.2010 date format to 20100421 or 20100421 to 21.04.2010

how to convert 21.04.2010 date format to 20100421 or 20100421 to 21.04.2010

4 REPLIES 4
Read only

Former Member
0 Likes
572

Hi Naini,

To convert 20100421 date format to 21.04.2010 format you can use the FM 'CONVERT_DATE_TO_EXTERNAL'.

You just need to pass the internal date '20100421' in your case as import parameter and you'll get '21.04.2010 ' as export parameter.

Thanks-

Anamika Jain

Read only

Former Member
0 Likes
572

Hi,

1. For you first requirment you can use Fm : HR_HK_CONV_DATE_TO_INTN_FORMAT.. It converts 21.04.2010 date format to 20100421.

give as input:

Import parameters               Value

 DATUM                                           21.04.2010
 DTYPE                                            DATS

2. For 2nd requirment use 'CONVERT_DATE_TO_EXTERNAL'

Regs,

Lokesh

Edited by: Lokesh Tarey on May 3, 2010 12:46 PM

Read only

0 Likes
572

Asking and answering simple Date-related questions are not allowed.

Reported all concerned to the Moderators for further action.

pk

Read only

Former Member
0 Likes
572

Moderator message - Please see before posting - post locked Rob