I am using datetime function to get the date but i dont want time. How to get only date?
dd - date
MM - Month (01, 02 )
MMM - Month (JAN,FEB)
yy - year( 17,18)
yyyy - year (2017.2018)
If today’s date is 18/1/2018 but i have to work on yesterday’s date, how to write complete expression.I want to know the dynamic expression as my process demands to work on previous date. Please help.
hi guys how can you get the name of the day
Here is the full list of the VB.NET datetime formats you can get when you use datetime.tostring(“xxxx”)
You can use,
If u give variable type as Generic.