Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
S3 Customization/Development
date calc API/routine
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Jessica
Past 24 Hours:
2
Prev. 24 Hours:
0
Overall:
5164
People Online:
Visitors:
218
Members:
0
Total:
218
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
S3 Customization/Development
date calc API/routine
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Chesca
Veteran Member
Posts: 490
1/2/2014 8:25 PM
Is there a routine/API to return the last day in a given month or return a date such as 1/31/2014?
Woozy
Veteran Member
Posts: 709
1/2/2014 8:40 PM
You should be able to use "900-GET-DATE-EOM"
MOVE DATE-YYYY-MM-DD TO WSDR-FR-DATE PERFORM 900-GET-DATE-EOM MOVE WSDR-TO-DATE TO DATE-YYYY-MM-DD
See document "Lawson 4GL Application Program Interfaces" for details.
NOTE: You will need to reformat the output date to your required format in the WS.
Good Luck!
Chesca
Veteran Member
Posts: 490
1/15/2014 1:37 PM
That worked, thank you Woozy!
You are not authorized to post a reply.