Re: [WebDNA] Displaying time specific records

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105941
interpreted = N
texte = After using other techniques early in my career, I have come to the conclusion that the best way (for me anyways) is to use separate date and time fields -- just like you are already doing now. Not only does this make manual viewing of these values in the database fast and easy for humans, but it also makes WebDNA coding easier since you're using the [date] and [time] tags directly. Sincerely, Kenneth Grome > Hi all, > > Wondering how people deal with time specific records. > I.e. a press release that can only be shown after 2pm on > a specific day. The time restriction only applies on > the day the press release is issued. > > Currently I store the dates and times in separate fields > - should I be looking at using a Unix style timestamp or > 'seconds since' - or is there an easier way. > > Take care > - Tom Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Displaying time specific records (Tom Duke 2010)
  2. RE: [WebDNA] Displaying time specific records ("Olin Lagon" 2010)
  3. Re: [WebDNA] Displaying time specific records (Tom Duke 2010)
  4. Re: [WebDNA] Displaying time specific records (Kenneth Grome 2010)
  5. Re: [WebDNA] Displaying time specific records (Toby Cox 2010)
  6. Re: [WebDNA] Displaying time specific records (Steve Raslevich 2010)
  7. [WebDNA] Displaying time specific records (Tom Duke 2010)
After using other techniques early in my career, I have come to the conclusion that the best way (for me anyways) is to use separate date and time fields -- just like you are already doing now. Not only does this make manual viewing of these values in the database fast and easy for humans, but it also makes WebDNA coding easier since you're using the [date] and [time] tags directly. Sincerely, Kenneth Grome > Hi all, > > Wondering how people deal with time specific records. > I.e. a press release that can only be shown after 2pm on > a specific day. The time restriction only applies on > the day the press release is issued. > > Currently I store the dates and times in separate fields > - should I be looking at using a Unix style timestamp or > 'seconds since' - or is there an easier way. > > Take care > - Tom Kenneth Grome

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Email Newsletters (2003) Calculating multiple shipping... (1997) [taxRate] [TaxTotal] ? (1997) Tab Charactor (1997) [WebDNA] Authentication across domains (2009) ACGI processing for .html (1997) search form problem.. (1997) Max Record length (1997) Blowback and budgets. (2000) WebCatalog 2.0.1 NT beta 1 released (1997) email [title] (1997) emailer (1997) Date problems (1997) Multiple fields on 1 input (1997) Online reference (1997) WebCat2 - [format thousands] (1997) Counting LineItems (2000) Moment of Thanks (1997) SSL and reg web* (1997) How flexible is Shipping? (1997)