The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 How to set Date format for '2023/4/26 3:15:05.20'
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

pppoe5

3 Posts

Posted - 08/06/2023 :  11:05:47 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 9.9.0.225
Operating System:win10

I have a book with time col as:
2023/4/26 3:15:05.20
2023/4/26 3:15:05.80
2023/4/26 3:15:05.140
2023/4/26 3:15:05.200
2023/4/26 3:15:05.260
2023/4/26 3:15:05.320
2023/4/26 3:15:05.380
2023/4/26 3:15:05.440

How can I set their format? I try 'yyyy/m/dd h:mm:ss.###'
but not right!

Thanks for advance!

ChaoC

USA
165 Posts

Posted - 08/07/2023 :  08:57:40 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

You would need to set the column as Date and set the format to:

yyyy/M/dd h:mm:ss.###

M is for month
m is for minute

Best,
Chao
Go to Top of Page

pppoe5

3 Posts

Posted - 08/07/2023 :  09:14:45 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks Chao!

But the format will change '2023/4/26 3:15:05.20' to '2023/4/26 3:15:05.200'.

The record means 20ms(millisecond).

So, any suggestion?
Go to Top of Page

ChaoC

USA
165 Posts

Posted - 08/07/2023 :  09:32:19 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

There isn't a millisecond format. The ### indicates fractional seconds so your date should be written as 2023/4/26 3:15:05.020 for 20ms.

https://www.originlab.com/doc/en/Origin-Help/WksCol-DateTime

Best,
Chao
Go to Top of Page

pppoe5

3 Posts

Posted - 08/07/2023 :  09:39:49 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Many thanks!

But I have to chang them by hand.

You know it has a lot of records like this '.20', '.40' ... in my case.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000