Sybase InfoMaker 11.5, CD, Win, ENG Dokumentacja Strona 775

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 828
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 774
CHAPTER 24 DataWindow Expression and InfoMaker Functions
Users Guide 753
Today
Description Obtains the system date and time.
Syntax Today ( )
Return value
DateTime. Returns the current system date and time.
Usage To display both the date and the time, a computed field must have a display
format that includes the time.
Examples This expression for a computed field displays the date and time when the
display format for the field is "mm/dd/yy hh:mm":
Today()
See also
Now
Trim
Description Removes leading and trailing spaces from a string.
Syntax Trim ( string )
Return value String. Returns a copy of string with all leading and trailing spaces deleted if it
succeeds and the empty string (“”) if an error occurs.
Usage Trim is useful for removing spaces that a user might have typed before or after
newly entered data.
Examples This expression returns BABE RUTH:
Trim(" BABE RUTH ")
See also
LeftTrim
RightTrim
Truncate
Description Truncates a number to the specified number of decimal places.
Syntax Truncate ( x, n )
Argument Description
string The string you want returned with leading and trailing spaces
deleted
Przeglądanie stron 774
1 2 ... 770 771 772 773 774 775 776 777 778 779 780 ... 827 828

Komentarze do niniejszej Instrukcji

Brak uwag