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: 147
Joined: Thu Mar 16, 2017 5:40 am
Contact:

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 @Userware
Site Admin
Posts: 1142
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 @Userware » 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 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 33 guests

 

 

cron