3 Replies Latest reply on Jan 28, 2014 4:39 AM by Jump_Over

    How to do different times at different days in the week

    Maggern78 Level 1

      Hi!

       

      I need help with at small script-problem.

      To avoid a lot of messy explainations within a snippet, I would like a script to solve the problem.

       

      Monday to Thursdays there is an event at 16:30.

      Fridays the event is at 13:30.

      Saturday and sunday there's no event.

       

      The text printed is "Today at [time]".

      How do I solve this problem?

       

      Logic should probably be:

      If friday then friday

      If saturday or sunday then weekend

      Else then mondaytothursday

       

      Can anyone help?

       

      have a nice day

      Maggern

       

      PS: As a sidenote - does anyone have a good beginners guide for scripting?