# Import Timetable Days of Weeks

**URL:** <https://forum.phpvms.net/t/import-timetable-days-of-weeks/2075>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [February 22, 2010, 9:15pm UTC](https://forum.phpvms.net/t/import-timetable-days-of-weeks/2075 "2010-02-22T21:15:05Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [February 22, 2010, 9:15pm UTC](https://forum.phpvms.net/t/import-timetable-days-of-weeks/2075/1 "2010-02-22T21:15:05Z")

</div>

Hi, When i imported my timetable and the days of weeks is just Sunday Monday Tuesday Wed. Thursday Fridy. But i want the Saturday in, but according to the timetable it is inputed for 0123456 and i try 7 and it does not work. What is wrong with this.

Here’s my timetable.

code flightnum depicao arricao route aircraft flightlevel distance deptime arrtime flighttime notes price flighttype daysofweek enabled

CS 100 CYYZ CYWG CSA-1 812.67 8:15AM 9:52AM 2.37 800 P 123456 1

CS 101 CYWG CYYZ CSA-1 812.67 10:45AM 12:09PM 2.24 821 P 123456 1

CS 102 CYYZ CYWG CSA-1 812.67 2:35PM 5:12PM 2.37 530 P 123456 1

CS 103 CYWG CYYZ CSA-1 812.67 6:05PM 9:54PM 2.24 625 P 123456 1

CS 105 CYYZ CYUL CSA-2 273.84 6:30AM 7:43AM 1.13 320 P 123456 1

---

<div class="post-metadata">

**Author:** ![Tom](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@Tom](https://forum.phpvms.net/u/Tom)\
**Post date:** [February 22, 2010, 9:20pm UTC](https://forum.phpvms.net/t/import-timetable-days-of-weeks/2075/2 "2010-02-22T21:20:01Z")

</div>

In Excel (or whatever you’re using to edit), right click the column and format cells. Then select the Text option.

Now you can just change the first to 0123456 and drag it down.. they should stay like that when you save.

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [February 22, 2010, 9:24pm UTC](https://forum.phpvms.net/t/import-timetable-days-of-weeks/2075/3 "2010-02-22T21:24:58Z")

</div>

> In Excel (or whatever you’re using to edit), right click the column and format cells. Then select the Text option.
> 
> Now you can just change the first to 0123456 and drag it down.. they should stay like that when you save.

nope didn’t work

---

<div class="post-metadata">

**Author:** ![Tom](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@Tom](https://forum.phpvms.net/u/Tom)\
**Post date:** [February 22, 2010, 9:26pm UTC](https://forum.phpvms.net/t/import-timetable-days-of-weeks/2075/4 "2010-02-22T21:26:18Z")

</div>

Really? Odd works for me.

Well, open it up in notepad and add all the zeros.

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [February 22, 2010, 9:27pm UTC](https://forum.phpvms.net/t/import-timetable-days-of-weeks/2075/5 "2010-02-22T21:27:08Z")

</div>

> Really? Odd works for me.
> 
> Well, open it up in notepad and add all the zeros.

already in there

---

<div class="post-metadata">

**Author:** ![Tom](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@Tom](https://forum.phpvms.net/u/Tom)\
**Post date:** [February 22, 2010, 9:29pm UTC](https://forum.phpvms.net/t/import-timetable-days-of-weeks/2075/6 "2010-02-22T21:29:26Z")

</div>

Well your lack of detail didn’t help there..

So they’re not showing in the system when you import, even though they’re in the csv? Strange.

You don’t have to stick to those days though by the way, you can still fly a flight on Sunday if it isn’t scheduled for Sunday.

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [February 22, 2010, 9:40pm UTC](https://forum.phpvms.net/t/import-timetable-days-of-weeks/2075/7 "2010-02-22T21:40:58Z")

</div>

Attach your CSV file. Alternately, try an export from the system, and work on that file.

---

<div class="post-metadata">

**Author:** ![CrashGordon](https://forum.phpvms.net/user_avatar/forum.phpvms.net/crashgordon/32/34_2.png) [@CrashGordon](https://forum.phpvms.net/u/CrashGordon)\
**Post date:** [February 23, 2010, 12:47am UTC](https://forum.phpvms.net/t/import-timetable-days-of-weeks/2075/8 "2010-02-23T00:47:27Z")

</div>

I believe the original problem stems from the fact that Excel does not keep the zeros, except when formatted as text, but if you save as CSV, it loses the formatting.

Perhaps, one of these may prove helpful. [http://www.google.com/search?sourceid=navclient&ie=UTF-8&rlz=1T4GGLP\_enUS352US352&q=forcing+excel+to+display+zero+in+a+cell](http://www.google.com/search?sourceid=navclient&ie=UTF-8&rlz=1T4GGLP_enUS352US352&q=forcing+excel+to+display+zero+in+a+cell)

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [February 23, 2010, 1:49pm UTC](https://forum.phpvms.net/t/import-timetable-days-of-weeks/2075/9 "2010-02-23T13:49:16Z")

</div>

> I believe the original problem stems from the fact that Excel does not keep the zeros, except when formatted as text, but if you save as CSV, it loses the formatting.
> 
> Perhaps, one of these may prove helpful. [http://www.google.com/search?sourceid=navclient&ie=UTF-8&rlz=1T4GGLP\_enUS352US352&q=forcing+excel+to+display+zero+in+a+cell](http://www.google.com/search?sourceid=navclient&ie=UTF-8&rlz=1T4GGLP_enUS352US352&q=forcing+excel+to+display+zero+in+a+cell)

I got It! I just left it blank and it will put the whole week days.
