How to get the last weekend of March to change your time for daylight saving time.
Code to identify whether it is the month of March and whether it is a Sunday.
month_now=os.date("%m")
week_day=os.date("%w")
if week_day=="7" then
print("domingo")
end
if month_now=="03" then
print("Março")
end