A date and time format string defines the text representation of a DateTime or DateTimeOffset value that results from a formatting operation . It can also define the representation of a date and time value that is required in a parsing operation in order to successfully convert the string to a date and time. A custom format string consists of...
yyyy - 年的四位数。
mm - 两个月的数字。
dd - 两天的标志。
hh - 两位数的小时。
mm - 两位数的分钟。
但mi是一个标志为分钟,一个标志为什么?我以为这是一个周期指数。
所以请不要编造缩短时间格式的标准。没有必要混淆...
让我们记住我开始 这个话题的地方。重点不是改变格式,而是MQL4文档中的TimeToString() 和TimeToStr() 应该被纠正(如下图),仅此而已。
开发人员,请修复收藏品的显示!你看不到那颗星:)
MQL4。TimeToString() 和TimeToStr()。在第二个参数的参数中,写着 "TIME_MINUTES得到的结果是 "hh:mm","TIME_SECONDS得到的结果是 "hh:mm:ss"。应更正为 "hh:mi"和 "hh:mi:ss"。
"你真是个讨厌鬼,亲爱的。" (c) 修复它。
在任何情况下都不要纠正它。这是不正确的。时间格式被设置为 "yyyy.MM.dd hh:mm:ss"。MM大为月,mm(小)为分,ss为秒。MM通常被忽略,用一个小的MM代替,因为上下文告诉代码要使用月份。
在任何情况下都不要纠正它。这是不正确的。时间格式被设置为 "yyyy.MM.dd hh:mm:ss"。MM大为月,mm(小)为分,ss为秒。通常情况下,大MM会被忽略,而用小MM代替,因为上下文表明它是一个月。
hh24?
hh->12;HH->24。
hh24?
"你真是个讨厌鬼,亲爱的"(c)我们会解决的。
好吧,如果我发现其他的东西(我会的),我会写信给serviced。
不要去servicedesk。你应该在别的地方写。