Compare Dates - Times

thanks could be interested,

could you provide kindly a basic code in order to understand the concept from the code stand point ?

thanks for the support,
gnux