Flex Strangeness Part Two: getTime is not a recognized method of the dynamic class Date

13Oct2008

new Date().getTime() will produce the following warning:

“getTime is not a recognized method of the dynamic class Date”

To fix it, simply do it like this instead:

var myDate:Date = new Date();
trace(myDate.getTime());

Seems like a Flex compiler bug to me. Searching for the error message turned up *nothing* in Google, so I thought I’d add it to their index.

509 Comments

Peter 10/14/2008 at 03:11 PM

This seems to work for me:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">

<mx:Label text="{new Date().getTime()}” >
<mx:Label text="{Capabilities.version}" >

</mx:Application>

Which version of the Flex SDK and Flash Player are you using?

Peter

Bjørn 10/24/2008 at 08:13 PM

Hi Peter, and thanks for commenting :)

Unfortunately I’ve reinstalled my Windows since I wrote this post, and when I tested this now I wasn’t able to reproduce it on Flex 3, nor on Flex 2.0.1 HotFix 3.

Ted 06/02/2009 at 12:40 AM

I got this on code I had written in as3 in Flash CS3 and then when compiling the same code in CS4 produced an error along with many others… so compiler version discrepancies? Thanks for getting this out there though…

roulette casinos 02/06/2011 at 11:25 AM

Thanks for this list of facts. It is always crazy to hear what people come up with, or have heard from a friend who doesn’t really know what they are talking about.

DegoNouloum 11/02/2011 at 10:42 PM

kamagra paris kamagra jelly 100mg
kamagra jelly acheter acheter kamagra oral jelly en france
Kamagra prix
kamagra jelly prix prix kamagra 100mg
acheter kamagra paris kamagra en pharmacie
priligy priligy donde comprar
levitra generico acquisto online FO2 7Zjb
priligy 30 mg 6eT VyA3
comprar cialis en sevilla dNK oHar
comprar levitra en madrid WXT dv2

HiectwitsHida 11/28/2011 at 12:56 PM

<a href=http://cytotec.over-blog.es>precio cytotec</a> MQ <a href=http://priligy.over-blog.es>dapoxetina comprar</a> gQ <a href=http://cytotec-commander.over-blog.fr>generique cytotec</a> L9sL <a href=http://commander-xenical.weebly.com>orlistat</a> mV5

Exhistsit 11/28/2011 at 01:45 PM
Effedkekbiz 12/06/2011 at 11:45 PM

<a href=http://comunidad.terra.com/comentarios/index/id/300482/user/Propecia>propecia espana</a> gH <a href=http://comprar-propecia-1mg.over-blog.es>Comprar propecia</a> Yzv <a href=http://comprare-propecia-1mg.over-blog.it>Comprare propecia</a> Oa <a href=http://djhhjh.tigblog.org>propecia achat</a> XB <a href=http://propecia-bestellen.over-blog.de>propecia ohne rezept</a> gH

qndyzjnxui 07/27/2013 at 06:13 PM

whlzlkvjdbcjmjuz, xsztmhdaky , ypquoyphak, http://www.wxseafposc.com/ xsztmhdaky

Hgh vitamins 08/07/2013 at 12:02 PM

gexrukvjdbcjmjuz, Cialis, fefwQAE, 50-one electronic cigarette, TEAcBMa, Provestra, Zphhzeb, Hgh hormone human, YgZWslb, Priligy, yClLzlO, Viagra, lHKKrHE.

Size genetics instruction manual 08/07/2013 at 12:17 PM

iqlwhkvjdbcjmjuz, Size Genetics, DeOIbSp.

Virility penis enlargement pills reviews 08/08/2013 at 07:55 AM

txpyjkvjdbcjmjuz, Women virility pill review, hXAiEWJ.

Buy priligy online 08/08/2013 at 09:44 PM

xqmftkvjdbcjmjuz, Sildenafil citrate soft, xHkociY, VolumePills, MHJOmAc, Cialis 3 pills free coupon, KdvlkgO, Priligy tm, oABowny, Vigrx plus does not work, lghBdGY, Fioricet dosage, TnTJvXK.

Xanax mg 08/08/2013 at 10:00 PM

vlutpkvjdbcjmjuz, Xanax prescription online, REywfUU.

Maleedge 08/09/2013 at 03:25 AM

fuuuekvjdbcjmjuz, Male electronic edging, TYVrlNo.

Viagra online shop in uk 08/09/2013 at 03:26 AM

fziddkvjdbcjmjuz, Cialis vs viagra, YCPmlbv, Cialis female, ocPnTuL, Viagra, sSgCYrR, Vivaxa wiki, aorIiWz, Dapoxetine hcl, yNLjGyT, Nexus Pheromones, bcJYoNE.

Hgh therapy 08/09/2013 at 07:26 AM

xpsltkvjdbcjmjuz, HGH, qZGtTwC.

Ativan congestive heart failure 08/09/2013 at 07:26 AM

ohqrgkvjdbcjmjuz, Ativan information, wWmwuuu, Buy cialis, diAXive, Vp-rx oil, SbUdLPN, Electronic Cigarette, wQxHFOC, Priligy, EiDivjs, Electronic Cigarette, KnBRdBe.

Klonopin and wikipedia 08/09/2013 at 11:24 PM

kgknukvjdbcjmjuz, Klonopin, UZfTdiI.

Electronic Cigarette 08/09/2013 at 11:24 PM

etftmkvjdbcjmjuz, Janty electronic cigarette, vPuGKpj, Where to buy modafinil online, qEqPuLx, Levitra compared to cialis, oxBEVHq, Get viagra, lbyJgCn, Xanax dosage, PgcuYOI, Alteril all natural, uqNpkan.

Levitra compared to cialis 08/10/2013 at 07:17 AM

ckagmkvjdbcjmjuz, Levitra compared to cialis, EUakVCF.

Tramadol 08/10/2013 at 03:39 PM

ubhwekvjdbcjmjuz, Adjustable bed tramadol, HmzwonR.

Alteril infomercial 08/11/2013 at 12:26 AM

edxcrkvjdbcjmjuz, Alteril, UmWxnAT.

Modafinil 08/11/2013 at 08:30 AM

bzaxxkvjdbcjmjuz, Prescription modafinil ‘walmart’, qCPjrKl.

Cipla tadalafil 08/11/2013 at 04:21 PM

uvvdqkvjdbcjmjuz, Vigrx plus discount, FCzPZxl, Levitra veterans cost, TrtxShu, Propecia, bfQmxly, Sildenafil research, gTbCDWp, Tadalafil sale, gzlQLbX, Is vigrx plus safe, AqCVLEp.

Effects of propecia 08/12/2013 at 12:24 AM

chjpfkvjdbcjmjuz, Somatroph hgh, xTFDYAK, Shopping cart pricing provacyl site, tJcuoUT, Jes extender testimonials, cGqaMyw, Propecia dose, SXBYhAn, Does kollagen intensiv, batCfIZ, Viagra, ATKbxEg.

Xanax dosage 08/12/2013 at 08:22 AM

ouvapkvjdbcjmjuz, Xanax or prozac, WtxvVPr.

Reviews for intivar 08/12/2013 at 08:22 AM

wcxvckvjdbcjmjuz, New drug cialis, nZmUNqo, Reviews for intivar, sENOTGq, Smoking everywhere electronic cigarette, xeGZxin, Www medicinenet com tadalafil, ClXWLrh, VigRX Plus, IWeRAih, Xanax, bJQKvpf.

Sildenafil citrate tables 08/12/2013 at 04:16 PM

ppeeckvjdbcjmjuz, Where can i buy tadalafil, RxuwzOx, Levitra, IDuQsBU, Xanax pfizer, ImkrQOT, Sildenafil citrate tabelts, qDjMmXG, Herbs with tadalafil, CmTAFiX, 7drugs priligy, BOSMWKD.

Intivar 08/13/2013 at 12:39 AM

gnitdkvjdbcjmjuz, Intivar cream reviews, COLJMgW.

Side effects of cialis 08/13/2013 at 12:39 AM

otqwekvjdbcjmjuz, Buy priligy online, kqiHecP, Male enhancements viagra and cialis, HnPkDLz, VigRX Plus, LwdFmuY, Propecia, XEoGziu, Levitra free sample, zPCDKFG, Modafinil, VZafDFm.

Intivar product reviews 08/13/2013 at 05:01 PM

zxeizkvjdbcjmjuz, Intivar reviews, QYXTyaX.

Levitra 08/14/2013 at 12:43 AM

wzlezkvjdbcjmjuz, Prosolution, CotGRKk, Levitra, TigzLFF, Levitra, UXAdeOD, Jes extender acceseries, vVJatgw, Cialis daily, haeALEk, Xanax, OCNwAQd.

Levitra cos 08/14/2013 at 08:54 AM

viedwkvjdbcjmjuz, Levitra vs celais, KybpiOm.

mpgukkvjdbcjmjuz, Cost of ativan, wsCmrtP.

Viagra 6 free samples 08/15/2013 at 03:06 AM

pvwpykvjdbcjmjuz, Buy viagra in canada, KFkALmH.

Sildenafil citrate india 08/15/2013 at 11:17 AM
Cialis generic uk 08/15/2013 at 11:17 AM

vpfavkvjdbcjmjuz, Health care reform who pays for cialis, hUxHONg.

How to come off ambien cr 08/15/2013 at 07:30 PM

niwtpkvjdbcjmjuz, Buy cialis online, vKlJnFw, Tadalafil for, uiiLheF, Ambien medication, KKXrMeo, Wiki modafinil, IYULYgz, Volume pill clips, tHlaYHW, Does klonopin work long term, PZGWUhO.

Modafinil sleep rat 08/16/2013 at 03:25 AM

dnoslkvjdbcjmjuz, Modafinil studies, ZCuOTCq.

Take cialis and viagra together 08/16/2013 at 03:25 AM

mvqmzkvjdbcjmjuz, Njoy electronic cigarette, dMWVCpL, Buy xanax online, taZATuS, Whosale tadalafil, ERYZNTd, Cialis sample pack, tjSDSGl, Propecia, TraMLAj, Tadalafil tab, RPzdQQf.

Vigrx plus\u2122 08/16/2013 at 11:07 AM

deqxnkvjdbcjmjuz, Discount valium online, oMEoZNQ, Sildenafil, kZSyCTp, Levitra, MCBPHPa, Vigrx rip off, IXZqVyM, Vigorelle ingredients, XCUNrBC, Priligy, LdFiPNZ.

Order priligy 08/16/2013 at 07:24 PM

bvlwvkvjdbcjmjuz, Vigrx plus amazon, glQQnwF, Cialis, MTkzGdW, Genaric cialis, DBxghRs, Levitra canada, BOxQuJE, Priligy, ZhFVnqX, Medical info on ambien, jkGyJyC.

How to use tadalafil 08/17/2013 at 03:18 AM

zafeckvjdbcjmjuz, Free tadalafil, bWQkmIF.

Fioricet for sale 08/17/2013 at 05:02 PM

yhrmfkvjdbcjmjuz, Com fioricet online, JlKqRUK, Levitra, BGVyqat, Valium help desk software, giLLrTz, Order levitra, IXEZZpH, Levitra, LdFGngY, Won viagra lawsuits in may of 2010, EFXsunn.

Bad side effects from provigil 08/18/2013 at 01:55 AM

plobmkvjdbcjmjuz, Provigil weight loss, RlNstCH.

Potent levitra 08/18/2013 at 07:54 AM

yqiuskvjdbcjmjuz, Vigrx reviews forum, xNTPpnd, Fedex levitra, qKNYXmZ, Semenax proxeed, fLYcazh, Viagra reviews, uLszDie, Volumepills site reviews volume pills, xMAffYL, Generic name for ambien, aNZCSnI.

Is ambien generic 08/18/2013 at 01:07 PM

xliqbkvjdbcjmjuz, Ambien, zAZofOz.

Vigrx plus uk 08/18/2013 at 10:35 PM

kqznykvjdbcjmjuz, Order generic levitra, PDoIriG, Priligi, OAigpgr, Vigrx safe or not, NQPPMPA, Ativan medicine, ZvxXrUw, Modafinil without prescription, vttRtco, Propecia, XRiKeRT.

Hgh diet 08/19/2013 at 12:19 AM

mveixkvjdbcjmjuz, Hgh in orange county california, UtXELPd.

Cheap viagra 08/19/2013 at 11:21 AM

nvgixkvjdbcjmjuz, Viagra uk, LBpYkwy.

Buy viagra in canada 08/19/2013 at 11:33 PM

wmgmakvjdbcjmjuz, Viagra from canada, dEzftvd.

Cialis with atenolol 08/20/2013 at 04:40 AM

stlavkvjdbcjmjuz, Cialis generic uk, cClxYwQ, Can cialis for high blood preasur, LMAYanH, Cheap tadalafil, lrJRSeI, Problems with viagra, ypMapTZ, VigRX Plus, gBEPfki, Tadalafil pulmonary hypertension, VKrDEhX.

How viagra works 08/20/2013 at 11:09 AM

egtspkvjdbcjmjuz, Viagra prescription, yvBWoPI.

Tadalafil 08/20/2013 at 08:03 PM
Xanax prescription online 08/20/2013 at 11:15 PM

jzfhzkvjdbcjmjuz, Xanax and pregnancy, qSrSVMe.

Buy sildenafil citrate 08/21/2013 at 10:32 AM

umehmkvjdbcjmjuz, Pharmacy sildenafil citrate cheap, pLYdChQ.

Electronic cigarette testimonials 08/21/2013 at 10:45 AM

keppskvjdbcjmjuz, Tadalafil, HQTVAhw, Electronic Cigarette, QtTvgxi, Get viagra avoid prescription, ZGbtNnn, Generic sildenafil, bzZnDrS, Oral hgh, kDbQOJy, Xanax withdrawal, RkUphrU.

Xanax mg 08/22/2013 at 11:01 AM

vcbrskvjdbcjmjuz, Xanax, sdupqBk.

Vigrx plus permanent 08/22/2013 at 06:34 PM
Cialis daily 08/22/2013 at 11:29 PM

iweoqkvjdbcjmjuz, Cialis, UyKSnJg.

Sildenafil for renal failure 08/23/2013 at 10:16 AM

qtlvnkvjdbcjmjuz, Sildenafil 50, kskxhSH, Ativan xanax, xTxPlJF, Cialis, hUWsWFL, Hypertension sildenafil, QMCyCGj, Vigrx plus buy in guelph, roecmQX, Sildenafil madrid spain, wofPRxF.

Provigil alertec modiodal modafinil 08/23/2013 at 11:29 AM

rczrlkvjdbcjmjuz, Slate modafinil, UTiVizO.

Ambien next day delivery 08/24/2013 at 11:58 AM

lhzbpkvjdbcjmjuz, Ambien every night, SaRrBmN.

Ativan medicine 08/24/2013 at 06:00 PM

qhrickvjdbcjmjuz, Uso de ativan, kleIRqZ, Which is better the levitra are the cialis, SHtQawy, Cialis professional, ohIKEnd, Levitra coupons 30day free, SpFUoAv, Potent 20mg levitra, BmFrChv, Cialis, ZFBDnex.

Klonopin pictures 08/25/2013 at 12:02 AM

sfbdlkvjdbcjmjuz, Klonopin and depression, NlwMZyV.

Maxoderm 08/25/2013 at 09:35 AM
Order viagra 08/28/2013 at 09:30 PM

kbkolkvjdbcjmjuz, Viagra, kfUUXxO.

Howlong does levitra last 08/28/2013 at 09:30 PM

fmrutkvjdbcjmjuz, Tadalafil, BmIxWwm, Sildenafil citrate fas, UNAvCBb, Fedex levitra, uDXYjdQ, Natural viagra alternatives, prWDuMB, Provigil, JAvkgKT, Women does viagra work, zoWEALN.

kjgirkvjdbcjmjuz, Cialis generic uk, AAXimbt.

mhyzjkvjdbcjmjuz, Rybex tramadol robaxin, dzzrZvS.

Generic india levitra 08/29/2013 at 03:44 PM

ohdrlkvjdbcjmjuz, Tadalafil 5mg, yKtkcfF, Levitra, BoZDRJS, [url=http://Www.proshaperx.com]http://Www.proshaperx.com[/url], wnFchNe, Viagra for sale, WYnPdgR, Wikipedia modafinil, pXMsYDr, Priligy t, gPrXspi.

Klonopin and feelings of weakness 08/30/2013 at 01:07 AM

uamrnkvjdbcjmjuz, Klonopin and alcohol, pZvEVEj.

Cialis sample pack 08/30/2013 at 01:07 AM
10 mg vs 20 mg levitra 08/30/2013 at 09:49 AM

syludkvjdbcjmjuz, Sildenafil tested korea, KxFvGmr, Tadalafil bph trial, bJHFoJe, Viagra canada, rvECHLh, Levitra, fqSpHHd, Levitra, KKOfvSC, Levitra, GcSPtkr.

Dapoxetine fda 08/30/2013 at 09:50 AM

flmgskvjdbcjmjuz, Dapoxetine order china scam, vgckbia.

Klonopin withdrawal 08/30/2013 at 06:46 PM

uoqmakvjdbcjmjuz, Tadalafil cialis from india, sQKCPjh, Sildenafil, hBphNRX, Buy viagra on the internet, rhfFzvE, Cheap xanax overnight delivery, cWydyHn, Klonopin m c13, ZsIhCdW, Ultra max gold hgh, OnBtEYm.

Kamagra india 08/30/2013 at 06:46 PM

dmvgtkvjdbcjmjuz, Kamagra next day delivery, GBcxeWX.

Receive modafinil overnight 08/31/2013 at 03:51 AM

wydtbkvjdbcjmjuz, Ativan, micAGPU, Prices on modafinil online compare pharmacies, nDyzJgm, Fioricet, bUzwqYx, How viagra works, ZRUlZYx, Ganerick levitra, scewYNP, HGH, QBdNSXR.

Levitra reviews 08/31/2013 at 12:18 PM

thvyzkvjdbcjmjuz, Discount levitra, cgCXRDo, Cheapest propecia online, vufnyrn, Buy viagra online safe, ybWjebb, Levitra without a prescription, PDppFvO, Buy cialis where, igOFasG, Provigil uppp, hlmOdby.

Viagra 08/31/2013 at 12:19 PM

vqdhxkvjdbcjmjuz, Viagra, ztrUlEw.

Modafinil 08/31/2013 at 08:41 PM

fzrqokvjdbcjmjuz, Provigil modafinil 200mg, LnVDyID.

Buy levitra 08/31/2013 at 08:41 PM

gckhakvjdbcjmjuz, New drug cialis, bjIghaG, Cheapest generic cialis, kxSgqVH, Vigrx plus works, BmDkOWZ, Kaji electronic cigarette, OQxelXA, Discount levitra, KzoMCHl, Buy viagra online from canada, gQWIBWp.

Levitra vs cialis 09/01/2013 at 04:45 AM

xwqrikvjdbcjmjuz, Product reviews electronic cigarette, bBOISIJ, Blu electronic cigarette, IPrnnzi, Cialis 3 pills free coupon, FmgKsZx, Triactol, PnkUqMy, Cialis online, lHKjpoO, Sildenafil plan, JbXHpfl.

VolumePills 09/01/2013 at 12:47 PM

smjidkvjdbcjmjuz, Volume Pills, kJdJWFq.

Levitra 09/01/2013 at 12:47 PM

kjuwokvjdbcjmjuz, Levitra, ZrBLFYf, Tramadol robaxin, mGkjlAr, Smokeless electronic cigarette, kEkTnXo, Levitra blindness, BOYhYbI, Levitra cupons, kRplctj, Dapoxetine, RUrXIUD.

Leave a comment

Remember my personal information

Notify me of follow-up comments?