The external method 'System.String ToString(System.String)' of type 'System.DateTime' has not been implemented.

Please report bugs here. If you are unsure whether something is a bug or an expected behavior, please post it on the "Technical Support" forum instead, and wait for a moderator to handle/move the post.
TaterJuice
Posts: 81
Joined: Thu Mar 16, 2017 5:40 am

The external method 'System.String ToString(System.String)' of type 'System.DateTime' has not been implemented.

Postby TaterJuice » Fri Jul 14, 2017 8:28 am

The error does not occur in the simulator, only in the JS output.
The culprit of the error is:

Code: Select all

string curDate = DateTime.Now.ToString("MM/dd/yyyy")

JS-Support
Site Admin
Posts: 787
Joined: Tue Apr 08, 2014 3:42 pm

Re: The external method 'System.String ToString(System.String)' of type 'System.DateTime' has not been implemented.

Postby JS-Support » Sat Aug 19, 2017 6:35 am

Hi,

Thanks for your message. The overload that takes a string formatting ("MM/dd/yyyy") is not yet available. It is on the roadmap for Q4 2017 or early 2018. For the moment, you can only use the following methods:
- DateTime.ToLongTimeString()
- DateTime.ToShortDateString()
- DateTime.ToShortTimeString()
- DateTime.ToString()

Regards,
JS-Support



Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest

 

 

cron