C DateTime 8: Print the date and time before 24 months [C Programming]

preview_player
Показать описание
Write a program in C to print the date and time before 24 months.

Expected Output:
Today is : Thu Sep 3 11:08:10 2020
(DST is not in effect)

24 months ago the date was : Mon Sep 3 11:08:10 2018
(DST was not in effect)

#CProgramming #Date #Time

=================================================

Рекомендации по теме
Комментарии
Автор

Hi! I have a question, I have been trying to make a proggram that will compare different dates, I am trying to do this so I can make a discord bot that will say happy birthday to people on server when its that date, but I cannot figure out how to compare the current date and given date(someones birthday). any ideas?

dominikjazvic