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
 Time Format Not Exporting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Accel_01

2 Posts

Posted - 11/30/2021 :  4:20:47 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
OriginPro 2021 9.8.0.200
Operating System:Win10

In my worksheet the Time column is in a custom format of DDD HH:mm:ss.000 When the worksheet is exported to a .csv file, the time format does not export. Instead it looks to be converting to a number or text, ex: DDD.0000. Is there a way to keep the time in the same format when exporting?

snowli

USA
1386 Posts

Posted - 11/30/2021 :  5:07:24 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I couldn't reproduce the issue with custom format set to DDD HH:mm:ss:000.

But shouldn't the custom format be DDD HH:mm:ss:###?

E.g.
Enter some time value and also put some data in column B.
Use File: Export: ASCII and choose csv file extension with default settings.

I got


Thanks, Snow
Go to Top of Page

Accel_01

2 Posts

Posted - 12/01/2021 :  10:07:21 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks for the screenshots, they were key.
I noticed that the window where you specified the custom format was different than what I used. Instead of highlighting the column and selecting Properties like in your screenshot, I selected Format Cells... and did the custom time that way. Using the Properties and exporting to csv works. Using Format Cells... to define a custom time and then exporting to csv does not work.
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