DateTime Flutter. Sekarang sekarang
import 'package:intl/intl.dart';
DateTime now = DateTime.now();
String formattedTime = DateFormat.Hms().format(now);
print(formattedTime);
Happy Hoopoe