![]() |
![]() |
||||||
|
|||||||
| Tags: |
![]() |
|
|||
|
I have a datagrid connected to a data provider (a db table). One of the
columns displays datetime values from my table. I'm looking for a way to grab the hour from the datetime object of the selectedItem in the datagrid. How do I reference this? For instance, I select a row in my datagrid that contains the date 11/20/2008 9:55 AM, I need a way to reference the hour value (9) so I can display it elsewhere in my app. |
| Sponsored Links |
|
|||
|
"EvolvedDSM" <webforumsuser@macromedia.com> wrote in message news:gg4fb1$6pp$1@forums.macromedia.com... >I have a datagrid connected to a data provider (a db table). One of the > columns displays datetime values from my table. I'm looking for a way to > grab > the hour from the datetime object of the selectedItem in the datagrid. > How do > I reference this? > > For instance, I select a row in my datagrid that contains the date > 11/20/2008 > 9:55 AM, I need a way to reference the hour value (9) so I can display it > elsewhere in my app. Look up the Date object in the Language Reference. http://livedocs.adobe.com/flex/3/lan...lass-list.html. You will find your answer in a very obvious place among the properties. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise