×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

CRXI - Pull 7am to 7am for each day

CRXI - Pull 7am to 7am for each day

CRXI - Pull 7am to 7am for each day

(OP)
CRXI - It has been awhile since I had to write a formula. I have been trying to get the data to pull records for the following time frame. Since this is done on a daily basis I have tried to use Today -1 to Today but have not been able to include the time frame. I have tried several time variations but have not been sucessful. Any thought would be greatly appreciated.

{CAS_Action.ReceivedTime} = Today -1 to today (this pulls both days).

Daily - between 7:00AM previous day to 7:00AM Current Day

Bill

RE: CRXI - Pull 7am to 7am for each day

(OP)
After some testing I figured it out. I had to combine the the date and time fields and then use them in a formula that I put in the select criteria.

datetime(date({CAS_Action.ReceivedDate}),time({CAS_Action.ReceivedTime}))

{@DateTimeCombo} > DateTime(Year(CurrentDate),Month(CurrentDate),Day(CurrentDate),07,00,00)-1 and
{@DateTimeCombo} <= DateTime(Year(CurrentDate),Month(CurrentDate),Day(CurrentDate),7,00,00) and

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close