FutureProg functions

totext

Date/Timecomputer function, computer program, standard futureprog

Overload 1

totext overload 1

Text totext(Boolean value)
Available in
  • computer function
  • computer program
  • standard futureprog
Converts the supplied value to text using the standard FutureProg conversion rules.
ParameterTypeDescription
value Boolean The value to convert or inspect.

Overload 2

totext overload 2

Text totext(DateTime value)
Available in
  • computer function
  • computer program
  • standard futureprog
Formats a real-world datetime, optionally with a format string and a character whose culture and account formatting preferences should be used.
ParameterTypeDescription
value DateTime The value to convert or inspect.

Overload 3

totext overload 3

Text totext(DateTime value, Text format, Toon voyeur)
Available in
  • computer function
  • computer program
  • standard futureprog
Formats a real-world datetime, optionally with a format string and a character whose culture and account formatting preferences should be used.
ParameterTypeDescription
value DateTime The value to convert or inspect.
format Text A .NET date/time format string used to format or parse the date.
voyeur Toon The character whose account culture and formatting preferences should be used.

Overload 4

totext overload 4

Text totext(DateTime value, Toon voyeur)
Available in
  • computer function
  • computer program
  • standard futureprog
Formats a real-world datetime, optionally with a format string and a character whose culture and account formatting preferences should be used.
ParameterTypeDescription
value DateTime The value to convert or inspect.
voyeur Toon The character whose account culture and formatting preferences should be used.

Overload 5

totext overload 5

Text totext(Gender value)
Available in
  • computer function
  • computer program
  • standard futureprog
Converts the supplied value to text using the standard FutureProg conversion rules.
ParameterTypeDescription
value Gender The value to convert or inspect.

Overload 6

totext overload 6

Text totext(MudDateTime value)
Available in
  • computer function
  • computer program
  • standard futureprog
Formats an in-game mud datetime with long calendar and time display rules. Null or Never mud datetimes display as Never.
ParameterTypeDescription
value MudDateTime The value to convert or inspect.

Overload 7

totext overload 7

Text totext(Number value)
Available in
  • computer function
  • computer program
  • standard futureprog
Converts the supplied value to text using the standard FutureProg conversion rules.
ParameterTypeDescription
value Number The value to convert or inspect.

Overload 8

totext overload 8

Text totext(TimeSpan value)
Available in
  • computer function
  • computer program
  • standard futureprog
Formats a duration as readable text, optionally using the supplied character account culture and formatting preferences.
ParameterTypeDescription
value TimeSpan The value to convert or inspect.

Overload 9

totext overload 9

Text totext(TimeSpan value, Toon voyeur)
Available in
  • computer function
  • computer program
  • standard futureprog
Formats a duration as readable text, optionally using the supplied character account culture and formatting preferences.
ParameterTypeDescription
value TimeSpan The value to convert or inspect.
voyeur Toon The character whose account culture and formatting preferences should be used.