intl_date_helper 0.1.4 copy "intl_date_helper: ^0.1.4" to clipboard
intl_date_helper: ^0.1.4 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! πŸš€


🌟🌟 New Features #

πŸ“… Business Dates #

  • Total Business Days Calculation – Calculate the total number of business days between two dates. πŸ“†
  • Business Days List – Retrieve a list of business days between two dates. πŸ“‹

πŸ”„ Additional Extensions #

  • Relative Time – Get a relative time string from a date. ⏳
  • Date Checks – Check if a date is today, yesterday, tomorrow, within the last 7 days, this week, or a leap year. πŸ“…

🌟 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! πŸ™Œ

2
likes
160
points
28
downloads

Publisher

unverified uploader

Weekly Downloads

A simple utility for date formatting, conversion, and timezone support.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

intl, timezone

More

Packages that depend on intl_date_helper