function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ARUL BERNARD I 6ARUL BERNARD I 6 

formula field validation

I have divided 24 hours in to 12 parts(12:00AM to 02:00Am,02:00AM to 04:00AM,04:00AM to 06:00AM,06:00AM to 08:00AM,08:00AM to 10:00AM,10:00Am to 12:00PM,12:00PM to 02:00pm,02:00pm to 04:00pm,04:00pm to 06:00pm,06:00pm to 08:00pm,08:00pm to 10:00pm,10:00pm to 12:00pm)
If the value is inserted  in (12:00Am to 02:00AM)text box it should check with the system time if the time is 12am to 2am it should allow to insert the record.vise versa for all the field how to implement this using formula field 
 
SHAHNA MULLASHAHNA MULLA
Hi Arul,

Hope it will help you :
IF(TIMEVALUE('04:00:00.0')   <=   TIMENOW() && TIMEVALUE('06:00:00.0')  >=  TIMENOW() ,false,true)

Try that and let us know how it goes.