If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Announcement
Collapse
No announcement yet.
Date to name of a day conversion in OX way programatically
Hello,
I'm building my own app in the OX AppSuite platform and I would like to make the dates to appear in an "OX way". It means that instead of showing:
today's date - 7/8/2016 there would be time only.
yesterday's date - 7/72016 there would be Yesterday
a date before yesterday - 7/6/2016 there would be Wednesday
and so on, until the end of the week. After that there would be normally written dates:
last Friday 7/1/2016 there would be 7/1/2016
You can find the example of this approach in the sent emails and if you sent emails yesterday, on wednesday, ... you will see the dates are converted into the names (like explained above).
And the best part of this, you can change the style of the dates in Mail/Inbox/View/Exact Dates
Can anyone provide me an example of this? What method did you use? What else do I need?
Hopefully somebody gets me, what I'm trying to achieve,
thank you in advance for helping me out.
Date to name of a day conversion in OX way programatically
Hello,
I'm building my own app in the OX AppSuite platform and I would like to make the dates to appear in an "OX way". It means that instead of showing:
today's date - 7/8/2016 there would be time only.
yesterday's date - 7/72016 there would be Yesterday
a date before yesterday - 7/6/2016 there would be Wednesday
and so on, until the end of the week. After that there would be normally written dates:
last Friday 7/1/2016 there would be 7/1/2016
You can find the example of this approach in the sent emails and if you sent emails yesterday, on wednesday, ... you will see the dates are converted into the names (like explained above).
And the best part of this, you can change the style of the dates in Mail/Inbox/View/Exact Dates
Can anyone provide me an example of this? What method did you use? What else do I need?
Hopefully somebody gets me, what I'm trying to achieve,
thank you in advance for helping me out.
Leave a comment: