diff --git a/documentation/current/solutions/dates-and-times/eiffeltime/eiffeltime-tutorial/date-time-string-conversion.wiki b/documentation/current/solutions/dates-and-times/eiffeltime/eiffeltime-tutorial/date-time-string-conversion.wiki index e1088c3c..bf93bfa8 100644 --- a/documentation/current/solutions/dates-and-times/eiffeltime/eiffeltime-tutorial/date-time-string-conversion.wiki +++ b/documentation/current/solutions/dates-and-times/eiffeltime/eiffeltime-tutorial/date-time-string-conversion.wiki @@ -1,4 +1,4 @@ -[[Property:title|DATE / TIME to STRING Conversion]] +[[Property:title|DATE TIME to STRING Conversion]] [[Property:weight|3]] [[Property:uuid|88972ba4-694b-8558-b0c8-87b1fc40afc4]] The classes TIME, DATE, and DATE_TIME provide a query formatted_out which can be used to retrieve a string containing the date or time in a format specified by a string or format conversion codes that the caller provides as an argument. The conversion is done in the DATE_TIME_CODE_STRING class. So for example, if a DATE instance referenced by my_date has a value of February 3, 2008, then applying the query: @@ -20,7 +20,7 @@ The following table lists format conversion codes. | dd | day - numeric |- -| [0]dd +| [0]dd | day - numeric (padded with '0' to 2 figures) |- | ddd @@ -35,7 +35,7 @@ The following table lists format conversion codes. | mm | month - numeric |- -| [0]mm +| [0]mm | month - numeric (padded with '0' to 2 figures) |- | mmm @@ -44,7 +44,7 @@ The following table lists format conversion codes. | hh | hour - numeric (24 hour clock scale by default) |- -| [0]hh +| [0]hh | hour - numeric (padded with '0' to 2 figures) |- | hh12 @@ -53,13 +53,13 @@ The following table lists format conversion codes. | mi | minute - numeric |- -| [0]mi +| [0]mi | minute - numeric (padded with '0' to 2 figures) |- | ss | seconds - numeric |- -| [0]ss +| [0]ss | seconds - numeric (padded with '0' to 2 figures) |- | ff @@ -82,7 +82,7 @@ These are some examples of output with their associated format code: | yy/mm/dd | 08/2/3 |- -| mmm-[0]dd-yy +| mmm-[0]dd-yy | FEB-03-08 |- | dd,mm,yyyy @@ -94,13 +94,13 @@ These are some examples of output with their associated format code: | hh12,mi,ss | 1,6,32 |- -| hh12:[0]mi:[0]ss:ff2 am +| hh12:[0]mi:[0]ss:ff2 am | 1:06:32.25 PM |- -| [0]hh:[0]mi:[0]ss.ff3 +| [0]hh:[0]mi:[0]ss.ff3 | 13:06:32.248 |- -| [0]mm/dd/yy hh12:mi:ss.ff3 +| [0]mm/dd/yy hh12:mi:ss.ff3 | 02/3/08 1:6:32.248 |}