ts_date_converter 0.0.2 copy "ts_date_converter: ^0.0.2" to clipboard
ts_date_converter: ^0.0.2 copied to clipboard

Convert your date to desired format

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:ts_date_converter/ts_date_converter.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Date Converter Example'),
        ),
        body: Center(
          child: Text(
            TsDateConverter.getConvertedTime(
              "2024-11-19T13:45:30.123456Z",
              "dd-MMM-yyyy",
            ),
          ),
        ),
      ),
    );
  }
}
3
likes
110
points
31
downloads

Publisher

unverified uploader

Weekly Downloads

Convert your date to desired format

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, intl, plugin_platform_interface, web

More

Packages that depend on ts_date_converter