Applescript urgent help with time

Joined
Sep 4, 2017
Messages
2
Reaction score
0
Points
1
Hello,
I really urgently need a simple applescript program, but I can't get to make it work.
Basically, it has to calculate how much time is left for school to end.
So, the first variable would be the current time, whilst the second variable should be "3:45 PM" which is the time at which the school ends.
Additionally, it should also be able to calculate how much time is left ONLY if school Is actually going on, so the function would run only if it is after 8:30 AM (time at which school starts) and before 3:45 PM (school ends).
Please it is vitally important. I would love anyone who could help me.
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,745
Reaction score
2,071
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
Like Stackoverflow, you first have to show us what you have done and what specific part you need help with..
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top