dart_now_time_filename 0.1.0 copy "dart_now_time_filename: ^0.1.0" to clipboard
dart_now_time_filename: ^0.1.0 copied to clipboard

outdated

Generate now time string for filename. Sometimes it needs a time string for filename. The time stamp is useful for logging and searching. For example, if filename generated using guid or md5, it smell [...]

dart_now_time_filename #

generate now time string for filename.

Getting Started #

Sometimes it needs a time string for filename. The time stamp is useful for logging and searching.

Usage #

final filename = NowFilename.genNowFilename(prefix: 'header-', ext: '.mp3');

And you'll get:

header-20191010-131010-516-687.mp3

homepage(github) #

dart_now_time_filename

2
likes
0
points
71
downloads

Publisher

unverified uploader

Weekly Downloads

Generate now time string for filename. Sometimes it needs a time string for filename. The time stamp is useful for logging and searching. For example, if filename generated using guid or md5, it smells badly. The package provides a lookabe format for logging and debugging. The filename format is prefix + year + month + day + seperator + hour + minute + second + seperator + millisecond + seperator + microsecond + extension. The timing is formatted by 2chars or 3chars(millisecond and microsecond).

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on dart_now_time_filename