标题为我的错误,显示以下代码:
ToText (Split ({?CutOffDate},"-") [2]),ToText (Split ({?CutOffDate},"-") [1]))
请帮助新鲜的程序员找到问题!
答案 0 :(得分:0)
首先使用CDate function,以in here的形式检查这是否是转换问题:
val bottomSheetDialog = BottomSheetDialog(context)
bottomSheetDialog.setContentView(binding.myDrawerContent)
bottomSheetDialog.show()
不要forget the :=
assignment operator
ToText(CDate({aString}), "dd-MMM-yy")