intl_date_helper 0.1.2
intl_date_helper: ^0.1.2 copied to clipboard
A simple utility for date formatting, conversion, and timezone support.
π intl_date_helper #
A lightweight and powerful Flutter utility for date formatting, timezone conversion, and timestamp handlingβall in one package! π
π Features #
β
Effortless Date Formatting β Convert any date format easily. ποΈ
β
Timezone Support β Seamlessly handle multiple time zones using the timezone
package. π
β
UTC & Local Time Conversions β Switch between UTC and local time with ease. π
β
Timestamps Made Simple β Format timestamps without hassle. β³
π¦ Installation #
Add this to your pubspec.yaml
file:
dependencies:
intl_date_helper: ^1.0.0
Then, run:
π Usage #
Check out the README page for examples! π
flutter pub get
π Usage #
import 'package:intl_date_helper/intl_date_helper.dart';
void main() {
String formattedDate = IntlDateHelper.formatDate("2025-03-01T12:30:00Z", outputFormat: "yyyy-MM-dd HH:mm:ss");
print("Formatted Date: \$formattedDate");
}
For more examples, check out the Example Tab. π
π€ Author #
Faiz Hassan
π» GitHub: @faizts
π§ Email: faizhassan.off@gmail.com
β Like this package? #
Give it a β on pub.flutter-io.cn to show your support! π