Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 23, 2012, 04:28:35 PM

Pages: [1]   Go Down
  Print  
Author Topic: Inheriting from Date  (Read 167 times)
auweout
Pong! (the videogame) Master
*****
Offline Offline

Posts: 28


« on: November 10, 2011, 10:22:00 PM »

Is there any way at all to create a new template object that inherits from the built in Date object so as to be able to add new methods to that child object without adding them to the built in Date object? I've tried everything I can think of and as far as I can tell it keeps referencing the Date function instead of the Date object and so doesn't work.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: