Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

select date without time flutter

var dateTime = DateTime.parse("2019-10-22 00:00:00.000");

var formate1 = "${dateTime.day}-${dateTime.month}-${dateTime.year}";

var formate2 = "${dateTime.year}-${dateTime.month}-${dateTime.day}";

print (formate1);
print (formate2);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #select #date #time #flutter
ADD COMMENT
Topic
Name
5+2 =