NET login points (one time per day login points only) time comparison

Source: Internet
Author: User

  public void Jifenchange ()//integral method     {       //Integration module//Judging the date and task completion log database The date size taken out, Note: the Compare () method will only return 1,0,-1. 1 means front is greater than back, 0 is equal,-1 is less than              if (ids! = null && IDs. Tables[0]. Rows.Count > 0)//If present date         {            DateTime nowtime = Dateti Me. now;            DateTime createtime = convert.todatetime (IDs. Tables[0]. rows[0]["Creatime"]. ToString ());            if (Datetime.compare (nowtime. Date, Createtime. Date) = = 1)//Only the current time is greater than the database time to add points             {            &NBSP ;   if (tsk. Isstop = = "0")//determine whether to deactivate the rule                 {          &NBSP ;        //daily login points                }        &N Bsp  }      }        else//insert points if not present         {      &NBSP ;     if (tsk. Isstop = = "0")             {             //daily login points   &N Bsp        }       }   }

Comparison of

Net sign-in points (one time per day login points only)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.