Number to Date.
From: Dylan (anonymous_at_discussions.microsoft.com)
Date: 04/05/04
- Previous message: chris: "Why The Difference In Speed?"
- Next in thread: Vishal Parkar: "Re: Number to Date."
- Reply: Vishal Parkar: "Re: Number to Date."
- Reply: JI: "Re: Number to Date."
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 5 Apr 2004 07:59:37 -0700
Hi,
The accounts package that we use uses MSSQL for its
database. One of the tables is for recording sales
transactions. The due date field in this table is stored
as INT size 4 in the YYYYMMDD format; i.e 20040405
(today's date). I have been asked to create a script
that will report all transactions that are x numbers past
their due date from a specified date. So they might want
to find out all transactions that will be 45 days overdue
(past due date) as of the end of the month, for example.
My problem is finding a way to convert this due_date
filed to date format so that the date they enter can be
deleted from it. Can anyone help?
To recap:
Convert 20040405 (INT) to 20040405 (YYYYMMDD - date)
TIA,
Dylan
- Previous message: chris: "Why The Difference In Speed?"
- Next in thread: Vishal Parkar: "Re: Number to Date."
- Reply: Vishal Parkar: "Re: Number to Date."
- Reply: JI: "Re: Number to Date."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
- Re: Portents of VMS death
... "HP NonStop servers are at the top of the single-system ... databases
for each primary database or a single backup for multiple ... no matter how many transactions
per second your application ... processing can continue using the backup database with
minimal service ... (comp.os.vms) - Rollforwarddb -e failure
... I've been running recovery tests for a contingency plan that I'm ... I've tried
it so far on both my target platform (Tru64 5.1b with Ingres ... Create a database
and create at least one table with some ... are any other uncommitted transactions with
an earlier start time to be ... (comp.databases.ingres) - Re: Splitting our Exchange 2003 Ent Database
... Database - Log record stalls/dec ... Physical disk transaction/sec ...
RAID and RAID card) affect the speed of the Physical Disk - sec/write ... OS and transactions
are on a Mirror. ... (microsoft.public.exchange.admin) - Re: Splitting our Exchange 2003 Ent Database
... Database - Log record stalls/dec = ... fault occurs and the page is retrieved
from disk. ... RAID and RAID card) affect the speed of the Physical Disk - sec/write
on ... OS and transactions are on a Mirror. ... (microsoft.public.exchange.admin) - Re: Is there an obvious way to do this in python?
... database, so why not use a database: ... some kind of update server to
which you can periodically send Python ... machines, so that some can do a full range of transactions,
and others a limited ... (comp.lang.python)