getDateTimeNowString function
Implementation
String getDateTimeNowString() {
var date = DateTime.now();
var asString = date.toUtc().toIso8601String();
var xmlDate = asString.split('.').first;
xmlDate += 'Z';
return xmlDate;
}
String getDateTimeNowString() {
var date = DateTime.now();
var asString = date.toUtc().toIso8601String();
var xmlDate = asString.split('.').first;
xmlDate += 'Z';
return xmlDate;
}