how to change datatype of (now.date) from date to string
1 Like
not working
Try the below.
System.DateTime.Now.ToString
You can refer the below doc for more formatting.
assign
Now.Date.ToString("dd-MM-yyyy")
to a string variable
want to change data table’s column’ datatype from date to string
Hi @mu_nazza
Use convert([columnname], ‘System.String’) in the select statement while specifying the column
Refer this link: