use chrono::Local;
pub fn get_current_time_and_date() -> (String, String) {
get_formatted_time_and_date("%H:%M", "%B %d, %Y")
}
pub fn get_formatted_time_and_date(time_format: &str, date_format: &str) -> (String, String) {
let now = Local::now();
let time = now.format(&time_format).to_string();
let date = now.format(&date_format).to_string();
(time, date)
}
pub fn get_formatted_date(date_format: &str) -> String {
Local::now().format(&date_format).to_string()
}