Peoplesoft provides a function called as "DateTimeToLocalizedString" to change date from one format into another.
Following is syntax used to achiev this.
DateTimeToLocalizedString({datetime | date}, [Pattern])
Param1 : Variable of Date Datatype
Param2 : Date format which you want for example "dd/MM/yyyy".
If you have Param1 of type string then use function "DateValue" to convert that string to Date.
| Title | Under | Posted on |
|---|---|---|
| special caracters are not translated correctly when ftp from windows to unix | Programming | 03/09/2010 - 3:23pm |
| SQR Code for converting the data from .CSV into Peoplesoft Tables | PeopleSoft Technical | 03/08/2010 - 9:25pm |
| How to view the employees from particular country in peoplesoft? | PeopleSoft Technical | 03/03/2010 - 1:56am |
| PeopleSoft, How to Disable Advanced Search or Saving Search Criteria for Component | PeopleSoft Technical | 03/01/2010 - 1:31pm |
Comments
Here is an example on how we can apply the above function.
%date in as 2008-08-29 out as 20080829:
%Datetime in as 2008-08-19-17.12.09.000000 out as 20080828-171209:
Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog
Post new comment