Differences

This shows you the differences between two versions of the page.

vovanin
vovanin
Line 1: Line 1:
+====== CTX Date Format Strings ======
+
+Date Time Format string accepts following format specifiers:
+^d^Represents the day of the month as a number from 1 through 31. A single-digit day is formatted without a leading zero^
+|dd|Represents the day of the month as a number from 01 through 31. A single-digit day is formatted with a leading zero.|
+|f|Represents the most significant digit of the seconds fraction; that is, it represents the tenths of a second in a date and time value.If the f format specifier is used without other format specifiers, it is interpreted as the f standard date and time format specifier.|
+|ff|Represents the two most significant digits of the seconds fraction; that is, it represents the hundredths of a second in a date and time value.|
+|fff|Represents the three most significant digits of the seconds fraction; that is, it represents the milliseconds in a date and time value.|
+|h|Represents the hour as a number from 1 through 12, that is, the hour as represented by a 12-hour clock that counts the whole hours since midnight or noon. A particular hour after midnight is indistinguishable from the same hour after noon. The hour is not rounded, and a single-digit hour is formatted without a leading zero. For example, given a time of 5:43, this custom format specifier displays "5".|
+|hh|Represents the hour as a number from 01 through 12, that is, the hour as represented by a 12-hour clock that counts the whole hours since midnight or noon. A particular hour after midnight is indistinguishable from the same hour after noon. The hour is not rounded, and a single-digit hour is formatted with a leading zero. For example, given a time of 5:43, this format specifier displays "05".|
+|H|Represents the hour as a number from 0 through 23, that is, the hour as represented by a zero-based 24-hour clock that counts the hours since midnight. A single-digit hour is formatted without a leading zero.|
+|HH|Represents the hour as a number from 00 through 23, that is, the hour as represented by a zero-based 24-hour clock that counts the hours since midnight. A single-digit hour is formatted with a leading zero.|
+|m|Represents the minute as a number from 0 through 59. The minute represents whole minutes that have passed since the last hour. A single-digit minute is formatted without a leading zero.|
+|mm|Represents the minute as a number from 00 through 59. The minute represents whole minutes that have passed since the last hour. A single-digit minute is formatted with a leading zero.|
+|M|Represents the month as a number from 1 through 12. A single-digit month is formatted without a leading zero.|
+|MM|Represents the month as a number from 01 through 12. A single-digit month is formatted with a leading zero.|
+|s|Represents the seconds as a number from 0 through 59. The result represents whole seconds that have passed since the last minute. A single-digit second is formatted without a leading zero.|
+|ss|Represents the seconds as a number from 00 through 59. The result represents whole seconds that have passed since the last minute. A single-digit second is formatted with a leading zero.|
+|tt|Represents the AM/PM designator|
+|y|Represents the year as a one or two-digit number. If the year has more than two digits, only the two low-order digits appear in the result. If the first digit of a two-digit year begins with a zero (for example, 2008), the number is formatted without a leading zero.|
+|yy|Represents the year as a two-digit number. If the year has more than two digits, only the two low-order digits appear in the result. If the two-digit year has fewer than two significant digits, the number is padded with leading zeros to achieve two digits.|
+|yyy|Represents the year with a minimum of three digits. If the year has more than three significant digits, they are included in the result string. If the year has fewer than three digits, the number is padded with leading zeros to achieve three digits.|
+|yyyy|Represents the year as a four-digit number. If the year has more than four digits, only the four low-order digits appear in the result. If the year has fewer than four digits, the number is padded with leading zeros to achieve four digits.|
+|Any other character|Copies any other character to the result string, without affecting formatting.|
+
+In order for SFDC to receive data in SF Date Time type fields, the valid format must be as follows: yyyy-MM-ddTHH:mm:ss.ff\\
+Example: <*CTX( Quote.DateCreated.Format(yyyy-MM-ddTHH:mm:ss.ff) )*>
+
+
+
+
{"ft_lang_label":"__label__en","ft_lang_prob":0.86705565,"math_prob":0.9622158,"size":4855,"snap":"2019-26-2019-30","text_gpt3_token_len":1199,"char_repetition_ratio":0.18985777,"word_repetition_ratio":0.52131546,"special_character_ratio":0.26138002,"punctuation_ratio":0.10860215,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9703268,"pos_list":[0,1,2],"im_url_duplicate_count":[null,8,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-06-17T07:02:34Z\",\"WARC-Record-ID\":\"<urn:uuid:0d98f6a2-38a1-4a4b-a0b5-8e55f0b5d8f6>\",\"Content-Length\":\"89273\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:1d7d8a5f-99de-4cf3-9d56-541170784607>\",\"WARC-Concurrent-To\":\"<urn:uuid:32303817-3ae6-4dda-a320-3c39a5280537>\",\"WARC-IP-Address\":\"184.106.4.106\",\"WARC-Target-URI\":\"http://help.webcomcpq.com/doku.php?id=adminhelp:appendixa:ctxtags:ctxdateformatstrings&rev=1434460734&do=diff\",\"WARC-Payload-Digest\":\"sha1:MHUWEO4QRMZ4JEP6ACMN7FLE4ZYZJU66\",\"WARC-Block-Digest\":\"sha1:N4IGVTMJYH3UI6RC74VAT27MWKGFGQZC\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-26/CC-MAIN-2019-26_segments_1560627998440.47_warc_CC-MAIN-20190617063049-20190617085049-00176.warc.gz\"}"}