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:

Dummy Form Variables Needed (2000) FEW QUESTIONS (1997) Running 2 two WebCatalog.acgi's (1996) Nav. 4 probs with cart - Serious problem (1997) shownext not showing next...still r2 (1997) Questions (1998) How to include weather (2000) NT License trade for Mac (2000) problems with 2 tags (1997) Forcing Paragraph Breaks on Results (1998) suffix mapping for NT? (1997) Wanted: Broader string manipulation functions (1997) [Listfiles] vs Netfinder (1997) RE: Problem (1997) customizing the color of user's pages (1997) Multiple Search Fields (1998) Triggers under MacOSx (2003) WebCat with WebTen (1998) Can anyone help me with this shipping thing? (1998) FORMS: Returning a specific page (1997)