Need more, need help now?
- - - - - - - - - - - - - - - - - - pay-as-you-go support - no contract - tenth of an hour billing - expert help - fast service - no call queues
Need integration?
- - - - - - - - - - - - - - - - - - with your shipping system - website - invoicing system - crm - cms - manufacturing - order import - back to back orders..
Need a report?
- - - - - - - - - - - - - - - - - - Excel reporting that pulls data from Sage - custom layouts - layouts that change adapt to your brands and/or for drop shipping.
Want web hosting?
- - - - - - - - - - - - - - - - - - Your own domain name - email - a shop - wordpress - woo commerce - ticket systems - help desks - forums - portals
Report design issues and solutions.
-
outhwaik
- User

- Posts: 2
- Joined: 10 Aug 2012, 09:05
- Sage Version: v2012 18 UK/Europe/Africa
Post
by outhwaik » 10 Aug 2012, 09:08
Hi all,
I need to include in a report I am writing the date as it will be in 3 working days. I was hoping for a simple function to get the day of the week, in which case I'd be able to specify how many days to add, but it looks as though Sage doesn't include this functionality. Anyone able to help me out with this?
Thanks in advance for any help
outhwaik
-
outhwaik
- User

- Posts: 2
- Joined: 10 Aug 2012, 09:05
- Sage Version: v2012 18 UK/Europe/Africa
Post
by outhwaik » 10 Aug 2012, 10:16
Managed to figure it out - for anyone who is interested my expression was as follows:
DateTimeToFormattedString(now(), "dddd")="Monday" or
DateTimeToFormattedString(now(), "dddd") = "Tuesday" or
DateTimeToFormattedString(now(), "dddd") = "Wednesday"
?
CreateDateTime(yearfromdate(now()), monthfromdate(now()),dayfromdate(now())+3)
:
CreateDateTime(yearfromdate(now()), monthfromdate(now()),dayfromdate(now())+5)
Who is online
Users browsing this forum: No registered users and 1 guest