Hi Trishla,
You’d need to find a Weather API and connect to that from your Mendix app. You should then be able to display that in your Mendix app.
Hope this helps
There is a Skycons widget available that uses the Forecast.io API to show todays weather: https://appstore.home.mendix.com/link/app/2639/
It is not able to show morning, afternoon and night though...