Given "2008-06-01 13:02:10.000"

flex

    Next

  • 1. Scroll bar for Chart
    Hi, I need help on how to show/add scroll bar on a chart. Any pointers would be of great help.
  • 2. Update Multiple Rows at Once in the Database
    "alice_data" < XXXX@XXXXX.COM > wrote in message news:ggen1o$a3c$ XXXX@XXXXX.COM ... > Hi, > > My client wanted me to create something that allows certain DataGrid to > display to allow users to edit and update the database records. The only > dilemma I am having here is how to actually create something from Flex's > end to > allow users update several rows of the database at once. Since everything > in my > datagrid would be defined as selectedItem whenever a user accesses the > entry, > how can I get Flex to recognize each of the updated variables while I > update > the database? Add like an updated property to each item in the collection. Then set it when the user has changed something. Then filter the collection to items that have been updated and send them to the server.
  • 3. How to Make SelectedItem be a Dynamic Variable?
    Hummm.... I think you need to view the problem in steps. First I think you need to update one record at a time. So when a row is clicked on, it pops up an edit form. When submitted (button perhaps) it updated the data provider of the data grid: instant show of the change. At the same time, an HTTP service call is made to update the data base. There is no need to update the application with the new data from the server. Now back on the data grid the user can pick another record to update. Buttons could be added for Add, Delete and use click for Edit perhaps.
  • 4. LineChart appending lines, instead of stacking
    Hard to explain ... when I do a single lineseries, the graph is great. If I add additional line series, instead of "stacking" along the same horizontal axis, it double it. Effectively graphing ... 1 ...10, 1 ... 10, 1 ... 10, 1 ... 10 Instead of graphing each line on the same 1 ... 10 horizontal axis. Any hints?
  • 5. ResourceBundle
    hi, i have a property file: fade={color} is red. and i am using resourceManager.getString('i18n','fade',... how can i add color to the array (parametres )that i will give to resourceManager.getString('i18n','fade',parametres) thanks

Given "2008-06-01 13:02:10.000"

Postby May 2008 » Fri, 27 Jun 2008 04:12:27 GMT

Hi everyone,

 var date_time:String = "2008-06-01 13:02:10.000";

 How can I get the date (2008-06-01) out ?  for example date = 2008-06-01
 How can I get the hour (13) out ? for example hour = 13
 How can I get the minute (02) out ? for example minute = 02
 How can I get the second (10) out ? for example second = 10

 Thanks,
 May


Re: Given "2008-06-01 13:02:10.000"

Postby May 2008 » Fri, 27 Jun 2008 05:40:13 GMT

Thanks guys.  I go for split because it is easier.

May

Similar Threads:

1.Given "2008-06-01 13:02:10.000"

String.split() is an easy way.

 To get the date, split on the space and you have "2008-06-01" as the first 
value in the array. In the second value, split again on the colon and you get 
the 13, the 02, and 10.000. Then split again on the period to get 10.

 matt horn
 flex docs

2.10.000+ rows

I'm a VB6 / VB.Net developer, looking into flash as an interface
engine.
I figured skinning is all very nice, but why not take it a step
further.

My main concern, before venturing any further, is how to display
datagrids (listviews) with 10.000+ rows (listitems), complete with up
to 10 columns (subitems).
Usually displaying datasets this big would just be bad design, but
this app is used for bulk data manipulation. So there you go.

I doubt flash can deal with these kinds of numbers directly, so I'm
wondering if there are any work-arounds like virtual datagrids
(virtual listviews) to get the job done.

Any ideas?

3.How to turn 1000000 into 1.000.000?

Im creating a swf where users enter some numbers to be processed in a formula, 
but the results always show huge numbers like 168460123184, making them hard to 
read, so I want to find a way to add a "." (a dot) every 3 numbers, so they 
would be easier to read...
 and I dont have a clue of how that can be done :(

 thanks!

 PS: I chose to use dots instead of commas cos here in Brazil we use dots to 
separate hundreds from thousands and so on....

4.I want to my external JPG files to have this sequence: 01, 02, ... , 10, 11, ...

5.Creating 30,000+ flash files

I need to create a large amount of flash files, based on one template - each new file would involve changing out the font for another before exporting as SWF. Is there an easy way to batch process this group of files? I originally had looked into Applescript (I'm on Mac OS X) but didn't see much Applescript support in the Flash MX (pre-2004) application.

Any help would be greatly appreciated.



6. 300,000+ XML Nodes

7. can FMS support 1, 000 users at same time

8. I'll buy houses and a flash car, says yob awarded ?67,000



Return to flex

 

Who is online

Users browsing this forum: No registered users and 15 guest