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
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
- - - - - - - - - - - - - - - - - - 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
Find the date in 3 working days
Re: Find the date in 3 working days
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)
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 11 guests