Jump to content

Date and Time function


This topic is 4311 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi There,

I am having a bit of a problem. I know there is a simple solution but I can't work it out.

I have a date field that user enters, This field defines what date an order is ready to be picked up.

I have a time field that the user enters. This field defines what time an order is ready to be picked up.

I have a field called "pick up date". This is a calculation field that returns a pick up date. I need this to calculate a pick up date based on the previous two fields. For example:

If dayofweek (day) = Thursday and time (hh;mm;ss) > 16:00:00 then return "pick up date" as the following Tuesday.

I can't quite get the calculation to work. Please help, thanks!

Link to comment
Share on other sites

If dayofweek (day) = Thursday and time (hh;mm;ss) > 16:00:00 then return "pick up date" as the following Tuesday.

What is the logic behind this example calculation?

Link to comment
Share on other sites

This topic is 4311 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.