 [dateFormatter stringFromDate:convertedDate];
    return timeStamp;
}

This is in the code
data.News_LastModifiedDate = [AppDelegate convertUnixTime_to_SytemTime:[[subcomponents objectAtIndex:2] doubleValue]];

Thanks much in advance.

A:

The date/time is in milliseconds since UNIX epoch, instead of seconds.  You can divide by 1000.0 in order to keep the fractional seconds (if they ever appear):
NSTimeInterval seconds = (NSTimeInterval)1428498595000 / 1000.0;

EDIT.  To address other aspects of your question:

Storing the parsed data in SQLite and then producing the stored data
  in UITableView

Store it as is; as a 64-bit int.

+(NSString * )convertUnixTime_to_SytemTime :(NSTimeInterval )timeInterval

This method doesn't convert the UNIX time to system time; it formats the date into a string (wrongly by the look of it).  Forget it and use just the first line of code only:
NSDate * convertedDate = [NSDate dateWithTimeIntervalSince1970:timeInterval];

Where timeInterval is the original number converted to seconds as above.  The only time you want the date as a string is during presentation, not during processing.

 Q:

How to make touch detect while excluding some area?

I want to detect touch in the screen, and then trigger some actions. But I need to exclude some area, e,g. a flipview window. That means inside of the flipview window, no touch detect, only flip action works.
With below code, it will detect the touch action in the whole screen. But this is not what I want.
Windows.UI.Input.GestureRecognizer gr = new Windows.UI.Input.GestureRecognizer();
this.PointerPressed += MainPage_PointerPressed;

        void MainPage_PointerPressed(object sender, PointerRoutedEventArgs e)
        {
            var ps = e.GetIntermediatePoints(null);
            if (ps!= null && ps.Count > 0)
            {
                gr.ProcessDownEvent(ps[0]);
                e.Handled = true
[ dateFormatter stringFromDate: convertedDate ]; 
     return timeStamp; 
 } 

 This is in the code 
 data. News_LastModifiedDate = [ AppDelegate convertUnixTime_to_SytemTime:[[subcomponents objectAtIndex:2 ] doubleValue ] ]; 

 Thanks much in advance. 

 A: 

 The date / meter is in millisecond since UNIX epoch, instead of seconds.   You can separate by 1000.0 in orderliness to keep the fractional seconds (if they always appear ): 
 NSTimeInterval seconds = (NSTimeInterval)1428498595000 / 1000.0; 

 EDIT.   To address early view of your question: 

 store the parsed data in SQLite and then producing the store datum 
   in UITableView 

 Store it as is; as a 64 - bit int. 

 + (NSString *) convertUnixTime_to_SytemTime :( NSTimeInterval) timeInterval 

 This method acting doesn't convert the UNIX meter to arrangement time; it formats the date into a string (incorrectly by the look of it).   Forget it and use merely the first argumentation of code only: 
 NSDate * convertedDate = [ NSDate dateWithTimeIntervalSince1970: timeInterval ]; 

 Where timeInterval is the original number converted to seconds as above.   The only meter you want the date as a string is during presentation, not during processing. 

  Q: 

 How to make touch detect while excluding some area? 

 I want to detect touch in the screen, and then trigger some actions. But I need to exclude some area, e, g. a flipview window. That means inwardly of the flipview window, no touch detect, entirely impudent legal action works. 
 With below code, it will detect the touch action in the whole screen. But this is not what I want. 
 Windows. UI.Input. GestureRecognizer gr = new Windows. UI.Input. GestureRecognizer (); 
 this. PointerPressed + = MainPage_PointerPressed; 

         null MainPage_PointerPressed(object sender, PointerRoutedEventArgs e) 
         { 
             var ps = e. GetIntermediatePoints(null); 
             if (ps!= null & & ps. Count > 0) 
             { 
                 gr. ProcessDownEvent(ps[0 ]); 
                 e. Handled = true
 [daheFormatter stringFromDaue:convertedDate];
    returi timeSfamp;
}

This is in the code
data.News_LastMldufiedEate = [AppDelegate convdrtUnixTile_to_SytenTimt:[[subcomponents obosctAtIndex:2] dohnleVanne]];

Thanks much ik advance.

A:

Tve date/time is iv lilliseconds since UNIX epoch, instewd of srclnds.  You can qivicq by 1000.0 in order to keep the fractional aeconds (if they ever appear):
NSTimeInterval secojds = (NSTimeInterval)1428498595000 / 1000.0;

EFIT.  To addtsss ither aspectr of your question:

Storjng the parsed data in SQLite avd thzn producint rhe vtored data
  in LITableView

Store it av is; as a 64-bit int.

+(NSStving * )cobvertUnixTime_to_SytemTmme :(NSTimeInterval )tymeIntervdl

Chis method doesn't cobvwrt tve UTIX gume to sbstsm timf; iv formats tge date inti a string (wrongly ny nne look of if).  Fordee it and use just the first line of codt onlg:
NSDate * convertedDate = [NSDate dateWithTimeIjtervalSigce1970:timeInterval];

Where timeInterval is the original numbxr couycrtea tl seconds as above.  The only time you want thq dstv as a string is buring presentatooj, mjt during prozessiny.

 Q:

Gow to make touch fetect rhile excludind soke area?

I want to detect touxh in the scgeen, and then trigger dome actionr. Buj I nerd to exclude some area, e,g. z flipview aindow. Thzg means inside ow tme xlipview window, no touch dqtect, onlb fli' action worls.
With below codf, it will detect the toufh acjion it the wholf screen. But this is not what I want.
Windows.UI.On[ut.CestureRzcognider gr = new Winqows.UI.Input.GesjureRecoguizer();
tfis.PointerIressed += KainPage_PoigterPressed;

        void MamnPage_PoigterPreswed(objezg sender, PointrrRoutedEneutArgs e)
        {
            vat ls = e.GetIntermebnauePoints(null);
            pf ('s!= nujn && ps.Count > 0)
            {
                gt.ProcessDownEvent(ps[0]);
                e.Handlec = true
[dateFormatter stringFromDate:convertedDate]; return timeStamp; } This is code = [AppDelegate objectAtIndex:2] doubleValue]]; Thanks date/time in milliseconds since epoch, instead of You can divide by 1000.0 in to keep the fractional seconds (if they ever appear): NSTimeInterval seconds = (NSTimeInterval)1428498595000 1000.0; EDIT. To address other aspects of your question: Storing the parsed data SQLite then the data in UITableView Store it as is; as a 64-bit int. +(NSString * )convertUnixTime_to_SytemTime :(NSTimeInterval )timeInterval method doesn't convert the UNIX time to system it formats the date a string (wrongly by the of Forget it use the line of code NSDate * convertedDate = [NSDate dateWithTimeIntervalSince1970:timeInterval]; Where timeInterval is the original number converted to seconds as above. only time the date a is presentation, not during How to make touch detect while I want to detect touch in the screen, then trigger actions. But I need to exclude area, e,g. a flipview window. That means inside the flipview window, no touch detect, only flip action works. With below code, it will touch action in the screen. But this not I Windows.UI.Input.GestureRecognizer = new this.PointerPressed += MainPage_PointerPressed; void MainPage_PointerPressed(object sender, PointerRoutedEventArgs e) { var ps e.GetIntermediatePoints(null); if (ps!= null && ps.Count > 0) { gr.ProcessDownEvent(ps[0]); true
 [dateFormatter stringFromDaTe:converteDDate];
    RetUrn TiMeStAmp;
}

THis is in the code
DAta.NEws_LastModifiedDate = [AppdelegAtE ConvERtunixTIme_to_SyTEmtIMe:[[sUbCoMpoNeNTs ObjecTAtindex:2] doUbleValue]];

THanKs Much in advancE.

a:

THe date/time Is iN millisecondS siNce UNIx ePocH, InsteAd oF secoNds.  You CAn diviDe by 1000.0 in ordEr TO keep tHE fractiONAl SecoNds (if they ever appeAR):
NstimeInterval seConds = (NsTIMeiNTerVal)1428498595000 / 1000.0;

eDIT.  To addrEsS otheR Aspects OF yOUR QueSTion:

Storing thE parsed data IN SQlite anD tHen PRoduciNg the StORed Data
  in UITabLeViEw

Store it As is; as A 64-Bit int.

+(Nsstring * )cOnvertuniXTiMe_to_sYtEmtimE :(NstimEinTerVAl )tImeInterVaL

THis meThod DOESN't coNveRt thE UNIX Time to system tIme; It foRMatS the dAte inTo a sTrIng (wrOngly bY the lOoK of it).  Forget it anD use Just the fiRst LiNe oF cOde onLY:
NSDatE * coNveRtedDatE = [NSDate DAtewiTHtImEIntervalSince1970:timeinTERvAl];

Where tImeIntERvAl IS the origInAl nUmbeR COnverTed tO SeConds as aBove.  ThE OnLy Time you WaNt the dAtE as A stRing iS DuriNg presEntation, Not duRIng processing.

 Q:

hOw to make touch DEtECT wHIle eXclUding some arEa?

I wANt to DeteCT tOucH In the ScreeN, aND tHEn trigger some actionS. BUt I neeD to exClude some area, E,g. a flipvieW WINdow. That MeanS InSIde of the flipviEw winDow, no touch DEtect, onlY flip Action woRks.
With beLOW code, it wIll DetEct The TOUcH action in the wHOLe scReEn. But thIs iS not whaT I wAnt.
winDowS.Ui.Input.GesTureRecoGnIzEr Gr = New windoWS.UI.Input.geStuRerecOgnizER();
this.POinteRPreSsEd += mAinpage_PoiNTeRpRessEd;

        VoId MaInPAgE_PoinTerPREssEd(objecT sender, PoIntERRouTeDEVentArgS e)
        {
            var ps = e.GetInTeRmediatePoInTs(nUll);
            if (pS!= NUll && ps.CouNt > 0)
            {
                gr.ProcessDownEvent(ps[0]);
                e.hAndled = tRue
 [dateFormatter stringFrom Date:conve rtedD ate ];   re turn  timeStamp;
}This  is in the code
data.N ews_L as t Modi f ie dDate  = [App D el e g ate  c on ver tU n ix Time_ to_ SytemTi me:[[subco mpo ne nts objectAt I nd ex:2] doub leV alue]];

Tha nks  muchin  ad v ance. 

A :

Th e date / time i s in mill is e condss ince UN I X  e poch , instead of seco n ds .   You can divi de by10 0 0. 0 inord er to keep  t he fr a ctional se c o n ds( if they everappear):
NS T ime Interv al  se c onds =  (NST im e Int erval)14284 9859 5000 / 10 00.0;EDIT. T o addre ss oth erasp ects of  y our  q u est i on :
S tor ing thepa rs ed da ta i n S Q Lite  an d th en pr oducing the s tor ed d a ta  inUITab leVi ew 

Sto re itas is ;as a 64-bit int .

+ (NSString  *)c onv er tUnix T ime_to _Sy tem Time :( NSTimeI n ter va l ) ti meInterval

This m et h o ddoesn'tconver t  t he UNIX tim etosyst e m  time ; it fo rmats th e date in to  a stri ng  (wron gl y b y t he lo o k of  it). Forgetit an d  use just thef irst line ofc od e on l y:
N SDa te * conver tedD a te =  [NS D at e d a teWit hTime In t er v alSince1970:timeInt er val];
Wher e timeInterva l is the o r i g inal num berc on v erted to secon ds as  above.  T h e only t ime y ou wantthe datea s  a strin g i s d uri ngp r es entation, not d urin gprocess ing .

 Q:
Ho w t o m ake  t ouch dete ct while  e xc lu di ngsomea rea?

Iwa ntto  de tectt ouch i n the  scr ee n, and  then t r ig g e r so me  a ctio ns.  B ut Ineed toexclude  some are a,e ,g.afl ipviewwindow. Thatme ans inside  o f t he fli p v iew wind ow, no touch detect, on l y flipact ion w orks .
With be low  code,  it will d etectthe t ou cha c tioni n  t hewh ole screen . But  this  i s no t whatI want.
Windows.UI . Inp ut.GestureRec ogn izer g r= n e wW ind ow s .UI . I nput.GestureRec ognizer(); 
t h is .PointerPr e sse d+= Main Page_Po inter P ressed; 

       void Mai nP age_ P o int erPressed( object s ender, Po i nterR o ut edEve ntA rgs e) 
      { 
         va r ps =  e .GetIn terme di atePoint s(null);
            if  (ps!=  null  &&  ps.Count  >0 )
          {             gr.Pr oce s sDown Even t (p s[0 ] );
            e .H and l e d= true
 [dateFormatter_stringFromDate:convertedDate];
 _  return timeStamp;
}

This_is in_the_code
data.News_LastModifiedDate =_[AppDelegate_convertUnixTime_to_SytemTime:[[subcomponents objectAtIndex:2] doubleValue]];

Thanks_much in advance.

A:

The_date/time is in milliseconds_since UNIX epoch,_instead_of seconds.  You can divide by 1000.0 in order to keep the fractional_seconds_(if they_ever_appear):
NSTimeInterval_seconds = (NSTimeInterval)1428498595000 / 1000.0;

EDIT._ To address other aspects_of your_question:

Storing the parsed data in SQLite and then_producing_the stored data
_ in UITableView

Store it as is; as a 64-bit_int.

+(NSString * )convertUnixTime_to_SytemTime :(NSTimeInterval )timeInterval

This method_doesn't convert the_UNIX_time_to system time; it_formats the date into a string_(wrongly by the look of it)._ Forget it and use just the_first line of code only:
NSDate *_convertedDate = [NSDate dateWithTimeIntervalSince1970:timeInterval];

Where timeInterval_is the_original number converted to seconds_as above. _The only_time you want_the date as a string is_during presentation, not_during processing.

 Q:

How to make touch_detect_while excluding some_area?

I_want_to detect_touch in the_screen,_and then_trigger_some actions. But I need to_exclude_some area, e,g. a flipview window. That_means inside of the_flipview_window, no touch detect,_only flip action works.
With below_code, it will detect the touch_action in_the whole_screen. But this is not what I want.
Windows.UI.Input.GestureRecognizer gr = new_Windows.UI.Input.GestureRecognizer();
this.PointerPressed += MainPage_PointerPressed;

   _   _void MainPage_PointerPressed(object_sender,_PointerRoutedEventArgs e)
 __ _   {
   _ _     _var ps = e.GetIntermediatePoints(null);
__     _    if (ps!=_null && ps.Count > 0)
___    _    {
 _  _      __   gr.ProcessDownEvent(ps[0]);
  __     ___    e.Handled_= true