Home » U++ Library support » U++ Core » Format function conversion specifiers and EditDate widget
Format function conversion specifiers and EditDate widget [message #2077] |
Fri, 31 March 2006 13:31  |
gprentice
Messages: 260 Registered: November 2005 Location: New Zealand
|
Experienced Member |
|
|
Is there a description anywhere of how Format works?
What does the %` do in the code below?
What does ~date1 return?
void Days::Compute()
{
result = IsNull(date1) || IsNull(date2) ? "" :
Format("There is %d day(s) between %` and %`",
abs(Date(~date1) - Date(~date2)), ~date1, ~date2);
}
The code is from the days example on the website. Which Date constructor is used - the copy constructor ???
(Should I be able to find this info in the help?)
Graeme
|
|
|
Goto Forum:
Current Time: Sun May 11 15:46:47 CEST 2025
Total time taken to generate the page: 0.00672 seconds
|