Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

dart date

import 'package:intl/intl.dart';

main() {
  var now = new DateTime.now();
  var formatter = new DateFormat('yyyy-MMM-dd');
  String formatted = formatter.format(now);
  print(formatted); // something like 2019-Jun-20
}
Source by deltrance.com #
 
PREVIOUS NEXT
Tagged: #dart #date
ADD COMMENT
Topic
Name
7+2 =