Group Abstract Group Abstract

Message Boards Message Boards

0
|
8.4K Views
|
4 Replies
|
1 Total Like
View groups...
Share
Share this post:

[?] Interpret date time string make it fast

Posted 6 years ago
POSTED BY: Daniel Carvalho
4 Replies
Posted 6 years ago

Hi Daniel,

Interpreter connects to Wolfram servers which is why it is slow. Try this instead.

DateObject@DateString[
  {StringTake["[01/Jun/2018:02:05:42]", {2, -2}], 
   {"Day", "/", "Month", "/", "Year", ":", "Hour", ":", "Minute", ":", "Second"}}]
POSTED BY: Rohit Namjoshi
Posted 6 years ago

How is your answer related to the Wolfram Language?

POSTED BY: Rohit Namjoshi
Posted 6 years ago

You can create a date with new Date(). There are four possible ways to use new Date():

With a date-string With date arguments With a timestamp With no arguments

To get to know more then you can get to enroll for data analytics online courses

POSTED BY: kritesh anand

Thanks!

This is really fast! :-)

POSTED BY: Daniel Carvalho
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard