<c:foreach
items= "${appoint}" var= "appoint" >
<c:set var= "Begin" value= "${appoint.begintime}"/>//value receive background passed values//var call notation
<fmt:formatdate value= "${begin}" var= "BeginTime" //value receive the value of the previous VAR Var continues to call formatting time to others
pattern= "hh:mm"/> //fmt:formatdate is converting a date type to a string type pattern= "hh:mm" Turn format
Fmt:parsedate is converting a string type to a date type pattern= "hh:mm" to a format
<c:set var= "End" value= "${appoint.endtime}"/>//simpledateformat of Parse (string str) is to convert a string type to a date type
SimpleDateFormat format (date date) is a date date type type that is converted to a string type
<fmt:formatdate value= "${end}" var= "Endtime"
pattern= "hh:mm"/>
<c:set var= "Date" value= "${appoint.endtime}"/>
<fmt:formatdate value= "${date}" var= "date"
pattern= "Mm/dd/yyyy"/>
<c:if
test= "${appoint.status = = 1 && appoint.staffid==beautician.id && begintime <= str && endtime& Gt;=str && dd==date} ">
${appoint.customername} approx.
</c:if>
<c:if
test= "${appoint.status = = 2 && appoint.staffid==beautician.id && begintime <= str && endtime& Gt;=str && dd==date} ">
${appoint.customername} has been to the store
</c:if>
</c:forEach>
C:set stored value