Currently im trying to get the first and last day of the previous month to fil in SAP webclient.
by using: now.Date.AddDays(-now.Day).ToShortDateString i get the last day of the previous month but it comes as 31/10/2018 but i need it to write down 31.10.2018.
is there a way to get it with (.) instead of (/)
you can replace / with . using string manipulation
do just add it behind now.Date.AddDays(-now.Day).ToShortDateString
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.