4
Answers

Display only date and no time

Garima Bansal

Garima Bansal

Jun 11
447
1

Since the database field is a datetime datatype and I am converting the current date to string format, this is not working.. how can I do this? I am doing the string format because I want the date in mm/dd/yyyy format and not in mm/dd/yyyy hh:mm:ss time format..

i want show date like dd/mm/yyyy
but i dont why timestamp is showing like
dd/mm/yyyy 3:00 PM

 <td>Updated dt.</td>

<td>
    (item.linedeptdt != null)
 </td>

Answers (4)