Getting Day, Month and Year from Date

Sample Code:

Date datobj;
Integer dy = datobj.day();
Integer mon = datobj.month();
Integer yr = datobj.year();

4 comments:

  1. nice post Mr.Magulan..its very helpful for beginners please keep on posting these small stuffs ...

    ReplyDelete