3.11.11

Replace month name by month number

An other quick JSON code to cut and past in your project and gain some time. This one replace all English month by their number so January becomes 01 ; February 02 and so on. It is based on the function replace and will avoid you to repeat the same action 12 times. Here a simple replace in bloc note (to update your column name) and apply and the trick is done.



Just make sure your project match the two following conditions:
  1. Have your month name starting by a Capital letter
  2. Replace in the code the string YOU COLUMN DATE NAME by your column name (use the replace function in the bloc note ctrl+H)

This post was

0 comments:

Post a Comment