Yes.
To set johnsw's logon time (8 A.M. to 5 P.M.) using 24-hour notation,
type:
net user johnsw /time:M-F,08:00-17:00
To set johnsw's logon time (8 A.M. to 5 P.M.) using 12-hour notation,
type:
net user johnsw /time:M-F,8am-5pm
To specify logon hours of 4 A.M. until 5 P.M. on Monday, 1 P.M. until
3 P.M. on Tuesday, and 8 A.M. until 5 P.M. Wednesday through Friday
for marysl, type:
net user marysl /time:M,4am-5pm;T,1pm-3pm;W-F,8:00-17:00
Andrej