Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Foreign Languages > Chinese Forum
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

datetime.now 怎么转换成string

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-26-2012, 02:14 PM
Newbie
 
Join Date: Nov 2011
Posts: 6
Default datetime.now 怎么转换成string

datetime.now 怎么转换成string,字符串还是时间
在vb里是这样
dim dt as string
dt=format(datetime.now,"yymmddhmmss")
这个在b4a中怎么实现?

另外vb中的结束当前工程
end
怎么实现?

Last edited by ssolid : 01-26-2012 at 02:35 PM.
Reply With Quote
  #2 (permalink)  
Old 02-04-2012, 03:37 AM
Newbie
 
Join Date: Jan 2012
Posts: 8
Default

dt=""&format(datetime.now,"yymmddhmmss")

这样强行转换。看行不行。
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
datetime mcmanu German Forum 1 01-25-2012 04:55 PM
Basic4PPC怎么从文本文件读取和保存中文信息? gzg163 Chinese Forum 8 11-14-2009 12:04 AM
祝贺中文社区成立! aylhf Chinese Forum 1 11-13-2009 02:36 PM
怎么都没有交流的?/ aa1025 Chinese Forum 0 12-13-2008 01:05 PM
恭喜中文社区成立 dlham Chinese Forum 0 09-26-2008 01:31 AM


All times are GMT. The time now is 04:28 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0