请教:如何分别获取"2015-8-14 04:30:00"中的年、月、日、小时、分、秒的值,谢谢

 

请教:如何分别获取"2015-8-14  04:30:00"中的年、月、日、小时、分、秒的值,谢谢

其中, "2015-8-14  04:30:00"是string格式的

 
StringToInteger(StringSubstr(...))
 
Xiangdong Guo:
StringToInteger(StringSubstr(...))
谢谢。
原因: