Jump to content

Logic Help


Recommended Posts

Hi everyone,

I need the community help again. I have been able to do lots of my scripting, by finding different samples on this forum. Now I am having problem with some basic logic and not sure how to write it as script.

Here is what I am looking to do.

I am writing a script which checks my email based on certain time frame. I have created two variables OnCallStart = "7/11/2012"

OnCallEnd = "7/18/2012"

I want the script to start checking emails at OnCallStart date and at 12:00 PM till OnCallEnd date at 12:00PM. If current time is between this time, the rest of script should run, else exit

I am not sure how to script the date and time check.

Any help you can provide will be great.

Thanks

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...