Adobe Dreamweaver Forums



Last 10 THreads :         problems linking PDFs (Last Post : Mantzi - Replies : 0 - Views : 1 )           »          flash loader reappears after movie plays (Last Post : lyshamo - Replies : 3 - Views : 4 )           »          cfimage error (Last Post : -==cfSearching==- - Replies : 1 - Views : 2 )           »          How to turn IMAGE into MOVIECLIP??? (Last Post : Snufferson - Replies : 7 - Views : 8 )           »          Embed files in a projector (Last Post : ytlevine - Replies : 0 - Views : 1 )           »          ColdFusion = "old technology" (Last Post : Ian Skinner - Replies : 7 - Views : 8 )           »          Load dynamic text into an embeded swf (Last Post : mikeyjray - Replies : 4 - Views : 9 )           »          Log email text (Last Post : Torgom - Replies : 0 - Views : 1 )           »          Properties > Flex Build Path (Last Post : kevxross - Replies : 0 - Views : 1 )           »          Can Anyone Help With Sub Menus (Last Post : Murray *ACE* - Replies : 8 - Views : 9 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-20-2008, 08:02 PM
EvolvedDSM
 
Posts: n/a
Diggs:
Default How can I get hour value of a datetype object in adatagrid?

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.



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-20-2008, 10:24 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: How can I get hour value of a datetype object in a datagrid?


"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.


Reply With Quote
Reply


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 On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 11:31 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk