# Project Title
BT TIME UTILS

## Description
Simple time formatting utility. Returns current date and time using the requested format. 

Uses chrono formatting: 
https://docs.rs/chrono/latest/chrono/format/strftime/index.html

## Usage
```
let (c_time, c_date) = get_current_time_and_date();
let (c_time, c_date) = get_formatted_time_and_date("%H:%M","%B %d, %Y");

```

## Version History
* 0.1.0
    * Initial Release
* 0.1.1
    * Added get formated date
* 0.1.2
    * Added convert function to PrimitiveDateTime from Iso8601 &str, Format from PrimitiveDateTime UTC to String in Iana timezone, Format from UTC to to String date_time at UtcOffset 
* 0.1.3
    * Minor changes from clippy. Update dependencies.   
* 0.1.4
    * Update dependencies. add function convert_string_ts_to_primitivedatetime
* 0.2.0
    * Migrate to AnyErr. Replace Box<dyn Error> for bt_any_error::any_err::AnyErr

## License
GPL-3.0-only