Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] How to use year build-in

$
0
0

Hi Jeanne,

If you want to show only the year portion of a Date or DateTime field you can also use the FormatDateTime() build in function.

https://success.outsystems.com/Documentation/10/Reference/OutSystems_Language/Logic/Built-in_Functions/Format_Built-in_Functions#FormatDateTime

But using het Year() function also works, Year() is especially usefull if you want to calculate with the year like adding or subtracting from it.

The FormatDateTime will output a string, so this gives you more options on how to represent a year.

The output of both functions you can bind to the value property of an expression.

Regards,

Daniel


Viewing all articles
Browse latest Browse all 1476385


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>