Binding to method result?

Hi everyone

I am attempting to make an app in Xamarin Forms - Visual Studio 2019. I have a welcome page with a label where I would like to welcome the user depending on the time of day. So for instance: “Good morning, xyz” when it’s 10am.

I’m not sure how to make that happen. Should I make a method in the xaml.cs to check what time of day it is that returns a string (morning, day, afternoon, evening) and then is it possible to bind to that? Or am I totally lost?

Thank you in advance!

Sluca

Anyone who can help me? :slight_smile: