Shell script to display user logged in within given time

how can i know which users have logged in at specified given start and end time in 24 hour format?

Did you search the forums before posting this question?

If so, what did you find?

unable to find any related post

A may be being thick here but I don't understand the question. Please can you re-phrase the question and give a clear example.

Technical question: Does the unix "last" command work on your computer and does the output contain the information you require possibly amongst other information which you do not require?