getDateTime function
Implementation
String getDateTime() {
var now = DateTime.now();
var formatterDate = DateFormat('dd/MM/yy hh:mm');
return formatterDate.format(now);
}
String getDateTime() {
var now = DateTime.now();
var formatterDate = DateFormat('dd/MM/yy hh:mm');
return formatterDate.format(now);
}