Re: [Gambas-user] Date to string MMddyyyyHHmmss

2012-02-07 Thread Bruce Bruen
On Tue, 2012-02-07 at 00:24 -0800, abbat wrote: > How to get a Date without any separators, splash and dots? > > In VB.NET I can get it by: > Dim T = Now.ToString("MMddHHmmss") > > I get "02062012192533" > > In "HOW TO" I could not find such exemple. > > Thanks abbat, The answers to many o

Re: [Gambas-user] Date to string MMddyyyyHHmmss

2012-02-07 Thread Алексей Беспалов
very simple Dim d As Date Dim s As String d = Now Print d s = Str(d) Print s s = Replace(s, ".", "") s = Replace(s, ":", "") s = Replace(s, " ", "") Print s 2012/2/7 abbat > > How to get a Date without any separators, splash and dots? > > In VB.NET I c

[Gambas-user] Date to string MMddyyyyHHmmss

2012-02-07 Thread abbat
How to get a Date without any sewparators, splash and dots? In VB.NET I can get it by: Dim T = Now.ToString("MMddHHmmss") I get "02062012192533" In "HOW TO" I could not find such exemple. Thanks -- View this message in context: http://old.nabble.com/Date-to-string-MMddHHmmss-tp33277