Not so simple in a PLC: What day is it today?