Jump to content

[SOLVED] change 1,2,3... to 01,02,03 in dBase


web_master

Recommended Posts

hi,

 

I got in dBase numbers of months in cells with INT, this result numbers of month like

 

1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12

 

In rows there is a lots of different month-numbers like:

 

id | name | month | day |

-------------------------------

1 |  Willie |    1    |  6  |

-------------------------------

2 | Johny |    6    |  7  |

-------------------------------

3 | Zelda |    7    |  12 |

-------------------------------

 

etc.

 

so, how can I chage all the numbers to begin with 0 (zero)

 

like:

 

id | name | month | day |

-------------------------------

1 |  Willie |    01    |  06 |

-------------------------------

2 | Johny |    06    |  07 |

-------------------------------

3 | Zelda |    07    |  12 |

-------------------------------

 

thnx

Link to comment
https://forums.phpfreaks.com/topic/101083-solved-change-123-to-010203-in-dbase/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.