Update page 'Date et heure'
parent
74d2c32a85
commit
a6bfd7c67d
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
*Paramètre d'entré : rien*
|
*Paramètre d'entré : rien*
|
||||||
*Paramètre de sortie : Date*
|
*Paramètre de sortie : Date*
|
||||||
``` CSHARP
|
``` vbnet
|
||||||
Public Shared Function GetDateWithDayAsMonday() As Date
|
Public Shared Function GetDateWithDayAsMonday() As Date
|
||||||
Return Today.AddDays((Today.DayOfWeek - DayOfWeek.Monday) * -1)
|
Return Today.AddDays((Today.DayOfWeek - DayOfWeek.Monday) * -1)
|
||||||
End Function
|
End Function
|
||||||
|
Loading…
Reference in New Issue
Block a user