Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: erdog
  • Order by date
  1. erdog

    Think parsing error

    I have a script that I use to create news files in html and I include it on my pages using SSI. I have found a weird bug. When I try to post the text (without quotes): "cd " or "cd," or "cd$", I get an Internal Server Error. I think that it has to do with the way it is parsing the text. It...
  2. erdog

    Include time stamp on a CGI output calendar???

    Thanks Kevin for the additional help.
  3. erdog

    Include time stamp on a CGI output calendar???

    Nevermind, I got it to work. Saw that I calculated for days and not hours...ooops. Thank you so much Kirsle.
  4. erdog

    Include time stamp on a CGI output calendar???

    That worked...Thanks. So if I wanted to adjust time for -3 hours, would the code look like: my $mtime = (stat("calendar_events.txt"))[9]; use Time::Format qw(time_format); print time_format ('HH:mm{in} AM Mon dd, yyyy', $mtime-3*24*60*60);
  5. erdog

    Include time stamp on a CGI output calendar???

    Darn this didn't work for me. I looked my host's installed perl modules and didn't find Time::Format. Any other options? Sorry if I am asking stupid questions, I have not been working with perl in a long time since I stopped learning it because my job description changed.
  6. erdog

    Include time stamp on a CGI output calendar???

    The format I am looking for is "00:00 PM Dec 31, 2006" if possible with a 12 hour format. If not, then "00:00 Dec 31, 2006 will suffice
  7. erdog

    Include time stamp on a CGI output calendar???

    Thanks. That worked like a charm. Now how do I control the formatting of the date/time and also subtract out 3 hours to account for the fact that the server time is +3 hours from me? Thanks I really appreciate your help Kirle.
  8. erdog

    Include time stamp on a CGI output calendar???

    I have a calendar script, "calendar.pl" that parses a template and a data file "calendar_events.txt", which contains the events to output a calendar. My question is, how can I include the last modified for the "calendar_events.txt" into the output? One idea was to create code that would parse...

Part and Inventory Search

Back
Top