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:
Jeffin Joy
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
4988
People Online:
Visitors:
47
Members:
0
Total:
47
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
Roger French
1315
mark.cook
1244
Chris Martin
825
Forums
Filtered Topics
Unanswered
Unresolved
Active Topics
Most Liked
Most Replies
Search Forums
Advanced Search
Prev
Next
Forums
Integration / Customization
S3 Customization/Development
date calc API/routine
Please
login
to post a reply.
2 Replies
0
Subscribed to this topic
19 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Chesca
Veteran Member
Posts: 490
New Poster
Congrats on posting!
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
New Poster
Congrats on posting!
1/2/2014 8:40 PM
Split
You should be able to use "900-GET-DATE-EOM"
[CODE]MOVE DATE-YYYY-MM-DD TO WSDR-FR-DATE PERFORM 900-GET-DATE-EOM MOVE WSDR-TO-DATE TO DATE-YYYY-MM-DD[CODE]
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
New Poster
Congrats on posting!
1/15/2014 1:37 PM
Split
That worked, thank you Woozy!
Please
login
to post a reply.