Preciso escrever um código onde é identificado que a data atual é segunda-feira, e escreva a data de sexta-feira anterior.
Hi @Marcos_Rogerio_Kusten
How about the following?

Today.DayOfWeek = DayOfWeek.Monday
Today.AddDays(7*Cint(Today.DayOfWeek<=DayOfWeek.Friday)+(DayOfWeek.Friday-Today.DayOfWeek)).ToShortDateString
Regards
Olá,
Funcionou, muito obrigado.
Glad to hear that, please remember to close the topic marking as solution
Regards!
system
(system)
Closed
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.