Skip to content

Non zero padding dates

4 messages · Dominic Roye, William Dunlap, jim holtman +1 more

#
Hello,

How can I convert date-time in which month and day have non zero padding?

For example: "2015119_06"  ("2015-01-19 06:00")

Thanks

Dominic
#
How would the ninth of November be represented?

Bill Dunlap
TIBCO Software
wdunlap tibco.com

On Mon, Aug 31, 2015 at 1:11 PM, Dominic Roye <dominic.roye at gmail.com>
wrote:

  
  
#
you will probably have to take a guess since your example is also
 2015-11-09 06:00; so how do you determine which one.  come up with an
algorithm and the solution is easy.


Jim Holtman
Data Munger Guru

What is the problem that you are trying to solve?
Tell me what you want to do, not how you want to do it.

On Mon, Aug 31, 2015 at 4:11 PM, Dominic Roye <dominic.roye at gmail.com>
wrote:

  
  
#
In your example, how would you know that it is not 2015-11-9 06:00. ?

Cheers,
Bert
On Monday, August 31, 2015, Dominic Roye <dominic.roye at gmail.com> wrote: