The difference between weather and climate lies in the time frame in which the data are collected and analyzed. Weather represents all current processes in the atmosphere, including
temperature and precipitation data measured over days. Climate, on the other hand is related to weather data over at least a 30 year time period and also accounts for normal frequency of extreme weather events. Extreme weather
events are not caused by the climate, but if the weather becomes more extreme over a long-time space, this will be an indication for a drastic change in climate.
https://www.nasa.gov/mission_pages/noaa-n/climate/climate_weather.html