Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

flutter datetime format

import 'package:intl/intl.dart';

DateTime now = DateTime.now();
String formattedDate = DateFormat('yyyy-MM-dd – kk:mm').format(now);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #flutter #datetime #format
ADD COMMENT
Topic
Name
3+1 =