79723804

Date: 2025-08-03 06:11:12
Score: 1.5
Natty:
Report link
//set on current day   sCurrentDay := FormatDateTime('dddd',Now);
  //fetch on a timer
  sFormattedDate := FormatDateTime('dddd',Now);//

  if not (sCurrentDay = sFormattedDate) then
    lblTodayTomorrow.Caption := 'It is Tomorrow!'
  else
    lblTodayTomorrow.Caption := 'It is still today.';
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: delphiguru